bootstrapMI(maigesPack)
bootstrapMI()所属R语言包:maigesPack
Calculate bootstrap p-values for mutual information (MI) measures
p值的计算互信息(MI)的措施引导
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function takes a numerical matrix (or two vectors) and calculates bootstrapped (by permutation) p-values to test if the mutual information value is equal to zero. If the first argument is a matrix, the p-values are calculated between all pairs of rows of the matrix.
这个函数接受一个数值矩阵(或两个向量),并计算自举(置换)p值来测试互信息值等于零。如果第一个参数是一个矩阵,对矩阵的行之间的所有P-值计算。
用法----------Usage----------
bootstrapMI(x, y=NULL, bRep, ret="p-value")
参数----------Arguments----------
参数:x
numerical matrix or vector to be analysed. If a vector, the argument y must be informed.
数值矩阵或向量来进行分析。如果一个向量,参数y必须通知。
参数:y
numerical vector. Must be informed if x is a vector. If x is a matrix, this argument is ignored. Defaults to NULL.
数值向量。必须被告知,如果x是一个向量。如果x是一个矩阵,这个参数将被忽略。默认为空。
参数:bRep
number of permutation to be done in the test.
数排列在完成测试。
参数:ret
character string with the value to return. Must be 'p-value' (default) for the usual p-value or 'max', to return the maximum absolute correlation value obtained by the permutation.
返回的值的字符串。必须是“p值”(默认)为一般p值或“最大”,返回的最大绝对相关置换获得的价值。
Details
详情----------Details----------
The method implemented in this function is proposed by Butte and Kohane (2000). The MI value is calculated using the function MI.
在这个函数中实现该方法提出的小山和小羽(2000)。使用功能MI的MI值计算。
值----------Value----------
The result of this function is a square matrix (length equal to the number of rows of x) if x is a matrix or a numerical value if x and y are vectors. The result is the p-values or maximum MI values calculated by permutation tests.
这个函数的结果是x是一个矩阵或一个数值x和x是一个方阵(长度等于y行数)向量。结果是p值或最大MI排列测试计算值。
作者(S)----------Author(s)----------
Gustavo H. Esteves <<a href="mailto:gesteves@vision.ime.usp.br">gesteves@vision.ime.usp.br</a>>
参考文献----------References----------
functional genomic clustering using pairwise entropy measurements. In Pacific Symposium on Biocomputing, 5, 415-426, 2000 (http://psb.stanford.edu/psb-online/proceedings/psb00/)
参见----------See Also----------
MI
MI
举例----------Examples----------
x <- runif(50, 0, 1)
y <- rbeta(50, 1, 2)
bootstrapMI(x, y, bRep=100)
z <- matrix(rnorm(100, 0, 1), 4, 25)
bootstrapMI(z, bRep=100)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|