Description Usage Arguments Value Author(s) References See Also Examples
View source: R/betaparametab.R
parameters alpha(a) and beta (b) in beta distribution are estimated by using an iteration algorithm.
1 | betaparametab(xn, w, P, V)
|
xn |
column vector, a set of library sizes. |
w |
column vector, a set of weights |
P |
proportion of counts of a gene or an isoform |
V |
variance for proportions of counts of a gene or an isoform over m replicate libraries in a condition |
return parameters a and b.
Yuan-De Tan tanyuande@gmail.com
Baggerly KA, Deng L, Morris JS, Aldaz CM (2003) Differential expression in SAGE: accounting for normal between-library variation. Bioinformatics 19: 1477-1483.
1 2 3 4 5 6 | XX<-c(2000,2000,2000)
p<-0.15
V=0.004
w<-c(0.3,0.3,0.3)
betaparametab(xn=XX,w=w,P=p,V=V)
#[1] 1.145868 6.493254
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.