posteriorProbability(crlmm)
posteriorProbability()所属R语言包:crlmm
Calculate the posterior probability for integer copy numbers.
整数拷贝数计算后验概率。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Calculate the posterior probability for integer copy numbers using the bivariate normal prediction regions.
为整数的副本,使用正常的二元预测区域的数字计算后验概率。
用法----------Usage----------
posteriorProbability(object, predictRegion, copyNumber = 0:4, w)
参数----------Arguments----------
参数:object
A CNSet object.
一个CNSet对象。
参数:predictRegion
A list containing the bivariate normal prediction region for each of the possible genotypes.
一个列表,其中包含为每个可能的基因型二元正常预测区域。
参数:copyNumber
Integer vector.
整数向量。
参数:w
numeric vector of prior probabilities for each of the copy number states. Must be the same length as copyNumber and sum to 1.
数字矢量为每个拷贝数状态的先验概率。必须copyNumber“之和为1的长度相同。
Details
详情----------Details----------
This is currently under development.
这是目前正在开发中。
值----------Value----------
An array (features x samples x copy number)
一个数组(特征x标本x拷贝数)
注意----------Note----------
This is under development. Use at your own risk.
这是正在开发中。使用您自己的风险。
作者(S)----------Author(s)----------
R. Scharpf
参见----------See Also----------
predictionRegion, genotypes
predictionRegion,genotypes
举例----------Examples----------
data(cnSetExample)
pr <- predictionRegion(cnSetExample, copyNumber=0:4)
pp <- posteriorProbability(cnSetExample, predictRegion=pr)
dim(pp)
## multiple batches[#多批次]
data(cnSetExample2)
pr <- predictionRegion(cnSetExample2, copyNumber=0:4)
pp <- posteriorProbability(cnSetExample2, predictRegion=pr)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|