getDensityMatrix(nem)
getDensityMatrix()所属R语言包:nem
Calculate density matrix from raw p-value matrix
从原材料的P-值矩阵计算密度矩阵
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Fit a 3 component BUM model to each column of a raw p-value matrix.
3组件多层板模型适合原始的p值矩阵的每一列。
用法----------Usage----------
getDensityMatrix(Porig, dirname=NULL, startab=c(0.3,10), startlam=c(0.6,0.1,0.3), tol=1e-4)
参数----------Arguments----------
参数:Porig
matrix of raw p-values
原料p值矩阵
参数:dirname
name of a directory to save histograms and QQ-plots to. If dirname=NULL, then the plots are made to the screen, and after each fit the user is asked to press a key in order to continue.
目录的名称保存直方图和QQ的图来。如果目录名称= NULL,那么图的屏幕,并在每个适合用户要求按一个键以继续。
参数:startab
start values for alpha and beta parameter
启动α和β参数值
参数:startlam
start values for mixing coefficients
启动混合系数的值
参数:tol
convergence tolerance: If the absolute likelihood ratio -1 becomes smaller than this value, then the EM algorithm is supposed to be converged.
收敛公差:如果绝对的可能性比-1小于这个值,那么EM算法应该是融合。
Details
详情----------Details----------
The BUM density model consists of 3 components: f(x) = lambda_1 + lambda_2*dbeta(x,alpha,1) + lambda_3*dbeta(x,1,beta). The mixing coefficients and the parameters alpha and beta are fitted together via an EM algorithm.
流浪汉密度模型由3部分组成:f(x) = lambda_1 + lambda_2*dbeta(x,alpha,1) + lambda_3*dbeta(x,1,beta)。混合系数和参数α和β都配在一起通过EM算法。
值----------Value----------
log-density matrix of same dimensions as Porig: The log-densities can be interpreted as log signal-to-noise ratios. A value > 0 means higher signal than noise, and a value < 0 a higher noise than signal.
记录密度矩阵像Porig尺寸相同:记录密度可以解释为log信号信噪比。 A值> 0意味着更高的信号噪声,和值<0比更高的噪声信号。
注意----------Note----------
Note the difference to the previous package version: the LOG-density is returned now!
注意:以前的包版的区别:现在返回LOG密度!
作者(S)----------Author(s)----------
Holger Froehlich
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|