f0: Calculate the prior predictive distribution of the...

Description Usage Arguments Details Value Author(s) Examples

Description

Calculate the prior predictive distribution of the Beta-Negative Binomial model

Usage

1
f0(Input, AlphaIn, BetaIn, EmpiricalR, NumOfGroups, log)

Arguments

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.

Details

Function f0() will calculate the Beta-Negative Binomial prior predictive probability for a given set of parameters

Value

output a numeric vector, each element shows the prior predictive probability of one gene/isoform

Author(s)

Ning Leng

Examples

1
2
f0(matrix(rnorm(100,100,1),ncol=10), .5, .6,
           matrix(rnorm(100,200,1),ncol=10), 100, TRUE)

lengning/EBSeqHMM documentation built on May 21, 2019, 4:02 a.m.