Description Usage Arguments Value
A summary fit function for Genewise Negative Binomial Model NOTE previous name: fit_mgsnb
1 2 3 4 5 6 7 8 9 10 11 12 | fitGenewiseNBModel(
cnt,
s,
cond,
ind,
default_mu = 0,
default_r = 20,
min_var = 4,
min_varofcond = 0.25,
min_varofind = 0.25,
min_tau2 = 0.25
)
|
cnt |
matrix, count matrix size of ngene by ncell |
s |
numeric vector, length of ncell, normalzing/scaling factor for cells |
cond |
integer vector, length of ncell, which cond the cell belongs to, start from 1. |
ind |
integer vector, length of ncell, which individuals cells belong to, start from 1. |
default_mu |
double, default is 0.0 |
default_r |
double, default is 20. |
min_var |
double, default is 4.0 |
min_varofcond |
double, default is 0.25 |
min_varofind |
double, default is 0.25 |
min_tau2 |
double, default is 0.25 |
list of four elements
mgsnb: matrix, ngene by 2 + ncond + nind
mu: output of fitGeneGlobalMeanPriorParams
logr: output of fitGeneGlobalMeanPriorParams
cond: output of fitGenewiseCondPriorParams
ind: output of fitGenewiseBatchPriorParams
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.