thinCounts(edgeR)
thinCounts()所属R语言包:edgeR
Binomial Thinning of Counts
二项式细化计数
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Reduce the size of Poisson-like counts by binomial thinning.
减少由二项式变薄的泊松样计数的大小。
用法----------Usage----------
thinCounts(x, prob=0.5)
参数----------Arguments----------
参数:x
numeric vector or array of non-negative integers.
非负整数的数字向量或数组。
参数:prob
numeric scalar or vector, the expected proportion of the counts to keep.
数字标量或矢量,保持计数的预期比例。
Details
详情----------Details----------
This function calls rbinom with size=x and prob=prob to generate the new counts.
此函数调用rbinomsize=x和prob=prob来生成新的罪名。
值----------Value----------
A vector or array of the same dimensions as x, with thinned counts.
向量或数组x,薄计数的尺寸相同。
作者(S)----------Author(s)----------
Gordon Smyth
举例----------Examples----------
x <- rpois(10,lambda=10)
thinCounts(x)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|