View source: R/limma_treat_find_all_markers.R
limma_treat_find_all_markers | R Documentation |
Perform limma's pairwise moderated t-tests, find specifically up or down-regulated markers for each group over a logFC cutoff.
limma_treat_find_all_markers(
object,
grp,
direction = c("up", "down"),
treat.lfc = log2(1.2),
design = NULL,
add.means = !is.null(grp),
adjust.method = "BH",
weights = NA,
trend = FALSE,
block = NULL,
correlation = NULL,
moderated = TRUE
)
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. |
grp |
Vector of sample groups. These must be valid variable names in R and the same length as
|
direction |
Either "up" or "down" or both |
treat.lfc |
Vector of logFC passed to |
design |
Design matrix of the experiment, with rows corresponding to samples and columns to coefficients to be estimated. |
add.means |
Logical indicating if (unweighted) group means per row should be added to the output. |
adjust.method |
Method used to adjust the p-values for multiple testing. Options, in increasing conservatism,
include |
weights |
Non-negative observation weights. Can be a numeric matrix of individual weights of same size as the
|
trend |
Logical; should an intensity-trend be allowed for the prior variance? Default is that the prior variance is constant. |
block |
Vector specifying a blocking variable on the samples. Has length = |
correlation |
Inter-duplicate or inter-technical replicate correlation. Must be given if
|
moderated |
Logical; should |
Data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.