View source: R/limma_find_markers.R
limma_find_markers | R Documentation |
Perform limma's pairwise moderated t-tests, find sepcifically up or down-regulated markers for each group.
limma_find_markers(
object,
grp,
direction = c("up", "down"),
nsim = 1e+07 - 2,
seed = 100,
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". |
nsim |
Numeric number of simulations. |
seed |
Random seed. |
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.