fitGenewiseCondPriorParams: Estimate parameters of inv-gamma dist as the prior for...

Description Usage Arguments Value

View source: R/initParams.R

Description

Estimate parameters of inv-gamma dist as the prior for genewise conditional expression. NOTE previous name: est_varofcond

Usage

1
fitGenewiseCondPriorParams(mucond, min_varofcond = 0.25)

Arguments

mucond

matrix, ngene by ncond, gene expression level under conditions.

min_varofcond

scalar, lower bound for the estimated variance.

Value

matrix, ngene by 3 params, including variance of the gene expression under that condition, alpha, beta params for the prior of the variance (inv-gamma distribution). We treat initial means of the gene expressions as zeros.


beyondpie/mssc documentation built on Jan. 8, 2022, 1:30 p.m.