f0 {EBSeqHMM} | R Documentation |
Calculate the prior predictive distribution of the Beta-Negative Binomial model
f0(Input, AlphaIn, BetaIn, EmpiricalR, NumOfGroups, log)
Input |
expression values |
AlphaIn,BetaIn,EmpiricalR |
The parameters estimated from last iteration of EM. |
NumOfGroups |
How many transcripts within each Ng group |
log |
If set as TRUE, the output will in log scale. |
Function f0() will calculate the Beta-Negative Binomial prior predictive probability for a given set of parameters
output a numeric vector, each element shows the prior predictive probability of one gene/isoform
Ning Leng
f0(matrix(rnorm(100,100,1),ncol=10), .5, .6, matrix(rnorm(100,200,1),ncol=10), 100, TRUE)