X.snp.matrix-class(chopsticks)
X.snp.matrix-class()所属R语言包:chopsticks
Class "X.snp.matrix"
类“X.snp.matrix”
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This class extends the snp.matrix-class to
这个类扩展到snp.matrix-class
类的对象----------Objects from the Class----------
Objects can be created by calls of the form new("X.snp.matrix", x, Female). Such objects have an additional slot to objects of class "snp.matrix" consisting of a logical array of the same length as the number of rows. This array indicates whether the sample corresponding to that row came from a female (TRUE) or a male (FALSE).
创建对象可以通过检测的形式new("X.snp.matrix", x, Female)。这样的对象有一个额外的slot类对象"snp.matrix"组成一个逻辑阵列的行数相同长度。这个数组表示,该行对应的样本是否来自一位女性来到(TRUE)或男性(FALSE)。
插槽----------Slots----------
.Data: Object of class "matrix" and storage mode
.Data类"matrix"和存储模式:对象
Female: Object of class "logical" indicating
Female:Object类的"logical"说明
延伸----------Extends----------
Class "snp.matrix", directly, with explicit coerce. Class "matrix", by class "snp.matrix". Class "structure", by class "snp.matrix". Class "array", by class "snp.matrix". Class "vector", by class "snp.matrix", with explicit coerce. Class "vector", by class "snp.matrix", with explicit coerce.
类"snp.matrix",直接,明确的要挟。类"matrix"类"snp.matrix"。类"structure"类"snp.matrix"。类"array"类"snp.matrix"。类"vector",类“snp.matrix”,明确要挟。类"vector",类“snp.matrix”,明确要挟。
方法----------Methods----------
[] signature(x = "X.snp.matrix"): subset
[]signature(x = "X.snp.matrix"):子集
[<- signature(x = "X.snp.matrix"): subset
[< - signature(x = "X.snp.matrix"):子集
coerce signature(from = "X.snp.matrix", to =
要挟的<code>签名(=“X.snp.matrix”,以=
coerce signature(from = "snp.matrix", to = "X.snp.matrix"): maps a snp.matrix to an X.snp.matrix. Sex is inferred from the genotype data since males should not be heterozygous at any locus. After inferring sex, heterozygous calls for males are set to
强制signature(from = "snp.matrix", to = "X.snp.matrix"):映射到X.snp.matrix snp.matrix,。从基因型数据推断性别,因为男性不应该在任何位点的杂合子。推断性后,男性杂合子检测设置
show signature(object = "X.snp.matrix"): map to codes
秀signature(object = "X.snp.matrix"):映射到代码
summary signature(object = "X.snp.matrix"): calculate call rates, allele frequencies, genotype frequencies, and chi-square tests for Hardy-Weinberg equilibrium. Genotype frequencies are calculated for males and females separately and Hardy-Weinberg equilibrium tests use only the female data. Allele frequencies are calculated using data from both males and females. Results are returned as a dataframe with column names Calls, Call.rate, MAF, P.AA, P.AB, P.BB, P.AY, P.BY, and z.HWE
摘要signature(object = "X.snp.matrix"):计算通话费率,等位基因频率,基因型频率,Hardy-Weinberg平衡的卡方检验。基因型频率分别为男性和女性的计算和Hardy-Weinberg平衡测试只使用女性的数据。等位基因频率计算,从男性和女性使用的数据。结果作为dataframe返回列名Calls,Call.rate,MAF,P.AA,P.AB,P.BB,P.AY P.BY和z.HWE
作者(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>X.snp-class</code>, <code>snp.matrix-class</code>, <code>snp-class</code>
举例----------Examples----------
data(testdata)
summary(summary(Xchromosome))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|