Convert snpMatrix objects to snpStats objects
转换snpMatrix对象snpStats对象
译者:生物统计家园网 机器人LoveR
描述----------Description----------
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.
这些功能转换snpMatrix的对象snpStats对象。 convert.snpMatrix转换一个单一的对象,而convert.snpMatrix.dir将存放在指定的目录中的所有元素。他们真的只因为大多数的类中的类的名称更改snpStats与snpMatrix向后兼容。唯一的例外是ImputationRules类imputation.rules对象将需要重新生成。
用法----------Usage----------
convert.snpMatrix(object)
convert.snpMatrix.dir(dir = ".", ext = "RData")
参数----------Arguments----------
参数:object
Object to be converted
反对转换
参数:dir
A directory containing saved snpMatrix objects
目录包含保存snpMatrix对象
参数:ext
The file extension for files containing such objects
包含这些对象的文件的文件扩展名
值----------Value----------
convert.snpMatrix returns the converted object. convert.snpMatrix.dir rewrites the files in place.
convert.snpMatrix返回转换后的对象。 convert.snpMatrix.dir重写文件。
作者(S)----------Author(s)----------
David Clayton <a href="mailto:david.clayton@cimr.cam.ac.uk">david.clayton@cimr.cam.ac.uk</a>