setUpGenoDatFile(inveRsion)
setUpGenoDatFile()所属R语言包:inveRsion
Loads genotype data onto R
到ŕ基因型数据加载
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Loads onto an R session genotype data from text files or PLINK files.
加载到一个R基因型数据从文本文件或砰砰文件的会议。
用法----------Usage----------
setUpGenoDatFile(file = "GenoDat.txt", saveRes = FALSE, sortMinor = TRUE)
setUpGenoDatSNPmat(Chr, Geno, Annot, saveRes = FALSE, saveGeno = FALSE)
参数----------Arguments----------
参数:file
character. File path with genotype information
character。基因型信息的文件的路径
参数:saveRes
logical. Wether results should be saved into file gDat.RData
logical。阉结果应保存到文件“ gDat.RData
参数:sortMinor
logical. Whether genotypes should be sorted by minor allele frequency.
logical。基因型是否应该次要等位基因频率进行排序。
参数:Chr
numeric. Chromosome number
numeric。染色体数目
参数:Geno
snpMatrix. Matrix of raw with genotype data
snpMatrix。 raw基因型数据矩阵
参数:Annot
numeric. Annotation information read from an .bim file
numeric。 .bim文件阅读的注释信息
参数:saveGeno
logical. Wether .txt file should be saved with genotype information
logical。阉.txt文件应保存基因型信息
值----------Value----------
GenoDat object
GenoDat对象
作者(S)----------Author(s)----------
Alejandro Caceres <a href="mailto:acaceres@creal.cat">acaceres@creal.cat</a>
参见----------See Also----------
GenoDat
GenoDat
举例----------Examples----------
gen <- system.file("extdata", "genotypes.txt", package = "inveRsion")
gDat <-setUpGenoDatFile(file=gen,sortMinor=TRUE,saveRes=FALSE)
gDat
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|