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

R语言 chopsticks包 snp-class()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 15:00:56 | 显示全部楼层 |阅读模式
snp-class(chopsticks)
snp-class()所属R语言包:chopsticks

                                        Class "snp"
                                         类“SNP”

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

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

Compact representation of data concerning single nucleotide
紧凑的表示有关数据的单核苷酸


类的对象----------Objects from the Class----------

Objects can be created by calls of the form new("snp", ...) or by subset selection from an object of class "snp.matrix". Holds one row or column of an object of class "snp.matrix"
可以创建对象,通过检测形式new("snp", ...)类"snp.matrix"对象或子集选择从。容纳一排类"snp.matrix"的对象或列


插槽----------Slots----------




.Data: The genotype data coded as 0, 1, 2, or 3
.Data:基因型数据编码为0,1,2或3


方法----------Methods----------




coerce signature(from = "snp", to =
要挟的<code>签名(=“单核苷酸多态性”,以=




coerce signature(from = "snp", to = "numeric"):
强制signature(from = "snp", to = "numeric"):




coerce signature(from = "snp", to = "genotype"): maps a single SNP to an object of class "genotype". See
强制signature(from = "snp", to = "genotype"):映射到一个单一的单核苷酸多态性类"genotype"的对象。见

.





show signature(object = "snp"): shows character
显示signature(object = "snp"):显示字符




is.na signature(x = "snp"): returns a logical
is.nasignature(x = "snp"):返回一个逻辑


作者(S)----------Author(s)----------


David Clayton <a href="mailto:david.clayton@cimr.cam.ac.uk">david.clayton@cimr.cam.ac.uk</a>



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

<h3>See Also</h3>  <code>snp.matrix-class</code>, <code>X.snp.matrix-class</code>, <code>X.snp-class</code>

举例----------Examples----------


## data(testdata)[#数据(testdata)]
## s &lt;- autosomes[,1][#S < - 常染色体[1]]
## class(s)[#类(S)]
## s[#S]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-15 00:36 , Processed in 0.019752 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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