Convert snpMatrix objects to snpStats objects
These functions convert snpMatrix
objects to snpStats
objects. convert.snpMatrix
converts a single object, while
convert.snpMatrix.dir
converts all stored elements in a specified
directory. They really only change the class names since most of the
classes in snpStats
are backwards-compatible with
snpMatrix
. The exception is the ImputationRules
class;
imputation.rules
objects will need to be regenerated.
convert.snpMatrix(object) convert.snpMatrix.dir(dir = ".", ext = "RData")
object |
Object to be converted |
dir |
A directory containing saved |
ext |
The file extension for files containing such objects |
convert.snpMatrix
returns the converted object.
convert.snpMatrix.dir
rewrites the files in place.
David Clayton dc208@cam.ac.uk
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.