Description Usage Arguments Value Author(s) See Also Examples
This is a wrapper of several widely used statistical method for
high through-put experimental data such as RNAseq. The
limma-package
performs linear model on continous data,
or cooperate with the voom
function to handle count
data. The edgeR-package
and
DESeq2-package
performs negative binomial generalized
linear model on count data.
1 2 3 4 5 6 7 8 9 |
object |
|
design |
matrix. Number of rows must batch number of samples of object.
Usually the output of |
coef |
character. The coefficient to perform statistical tests. Must be in the column names of design. |
engine |
character. The engine to perform statistical analysis. Supported are limma, edgeR, and DESeq2. |
args |
list. A list of argumnets to be parsed to the backend statistical engine. |
transform |
function. The transform to be passed to
|
adjust.method |
character. Method used to adjust the p-values for
multiple testing. See |
A list-like S3 class ModelFit object is returned with the elements as following.
results |
A data.frame of the statistical test results for each gene/ feature.
|
adjust.method |
Method used to correct for multiple testing |
design |
design matrix |
df |
degree of freedoms |
distribution |
The distribution that p values were calculated |
engine |
package used for statistical test |
coef |
coefficient tested |
params |
additional parameters parsed |
Chenghao Zhu
HTSet-class
lmFit
voom
glmQLFit
glmLRT
DESeq
1 2 3 4 5 6 7 | data(exrna)
design = model.matrix(~ Condition, data = exrna$pdata)
coef = "ConditionSystemic Lupus Erythematosus"
fit1 = model_fit(object = exrna, design = design, coef = coef, engine = "limma", args = list(voom = TRUE))
fit2 = model_fit(object = exrna, design = design, coef = coef, engine = "edgeR")
fit3 = model_fit(object = exrna, design = design, coef = coef, engine = "edgeR", args = list(model = "lrt"))
fit4 = model_fit(object = exrna, design = design, coef = coef, engine = "DESeq2")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.