Calculate the significance of the dynamic signal for a single gene's single time expression. Compared to baseline NB confidence interval.

cal_p(obs.val, size, mu)

Arguments

obs.val,

estimated value from non-baseline model.

size,

the size of negative binomial model.

mu,

the estimated mean of constant negative binomial model

Value

a numeric p-value for time t.