dream_cor | R Documentation |
Apply variancePartition's dream
, to one or more contrasts, perform moderated t-test, and return
a table using limma's topTable
.
dream_cor(
object,
formula,
pheno,
weights = NA,
coef = "",
moderated = TRUE,
cols = c("P.Value", "adj.P.Val", "logFC")
)
object |
Matrix-like data object containing log-ratios or log-expression values, with rows corresponding to features (e.g. genes) and columns to samples. Must have row names that are non-duplicated and non-empty. |
formula |
specifies variables for the linear (mixed) model. Must only specify covariates, since the rows of exprObj are automatically used as a response. e.g.: |
pheno |
data.frame with columns corresponding to formula |
weights |
Non-negative observation weights. Can be a numeric matrix of individual weights of same size as the
|
coef |
column name of the mixed model |
moderated |
Logical; should variancePartition::eBayes be used? |
cols |
Columns of |
Data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.