找回密码
 注册
查看: 478|回复: 0

R语言 SNPassoc包 setupSNP()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 11:09:46 | 显示全部楼层 |阅读模式
setupSNP(SNPassoc)
setupSNP()所属R语言包:SNPassoc

                                        Convert columns in a dataframe to class 'snp'
                                         转换列中的数据框类的SNP

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

setupSNP Convert columns in a dataframe to class 'snp'
setupSNP转换列在一个数据框类“单核苷酸多态性”

summary.setupSNP gives a summary for an object of class 'setupSNP' including  allele names, major allele frequencie, an exact thest of Hardy-Weinberg  equilibrium and percentage of missing genotypes
summary.setupSNP给出了一个概要对象类的setupSNP的“包括等位基因的名字,主要等位基因频率下,Hardy-Weinberg平衡的精确thest和缺失基因型的百分比


用法----------Usage----------


setupSNP(data, colSNPs, sort = FALSE, info, sep = "/", ...)



参数----------Arguments----------

参数:data
dataframe containing columns with the SNPs to be converted
数据框包含要转换的单核苷酸多态性列


参数:colSNPs
Vector specifying which columns contain SNPs data
矢量指定哪一列包含单核苷酸多态性数据


参数:sort
should SNPs be sorted. Default is FALSE
应SNP位点进行排序。默认是false。


参数:info
if sort is TRUE a dataframe containing information  about the SNPs regarding their genomic position and the gene where  they are located
如果一个数据框的单核苷酸多态性基因组的位置和它们的所在位置的基因排序是TRUE


参数:sep
character separator used to divide alleles in the genotypes
用字符分隔符分割等位基因的基因型


参数:...
optional arguments
可选参数


值----------Value----------

a dataframe of class 'setupSNP' containing converted SNP variables.  All other variables will be unchanged.
一个数据框的类的setupSNP“转换的SNP变量。所有其他变量保持不变。


参考文献----------References----------

JR Gonzalez, L Armengol, X Sole, E Guino, JM Mercader, X Estivill, V Moreno. SNPassoc: an R package to perform whole genome association studies. Bioinformatics, 2007;23(5):654-5.

参见----------See Also----------

snp
snp


实例----------Examples----------



data(SNPs)
myDat<-setupSNP(SNPs,6:40,sep="")


#sorted SNPs and having genomic information[排序SNP位点和基因组信息]
data(SNPs.info.pos)
myDat.o<-setupSNP(SNPs,6:40,sep="",sort=TRUE, info=SNPs.info.pos)

# summary[总结]
summary(myDat.o)

# plot one SNP[图一SNP]
  plot(myDat,which=2)


转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-7 07:23 , Processed in 0.023339 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表