analyze | R Documentation |
Analyze
analyze(
object,
pca = TRUE,
pls = TRUE,
fit = "limma",
formula = ~subgroup,
drop = varlevels_dont_clash(object, all.vars(formula)),
codingfun = contr.treatment.explicit,
contrasts = NULL,
coefs = contrast_coefs(object, formula = formula, drop = drop, codingfun = codingfun),
block = NULL,
weightvar = if ("weights" %in% assayNames(object)) "weights" else NULL,
plot = pca & !is.null(fit),
label = "feature_id",
palette = NULL,
verbose = TRUE
)
object |
SummarizedExperiment |
pca |
TRUE / FALSE: perform pca ? |
pls |
TRUE / FALSE: perform pls ? |
fit |
linmod engine: 'limma', 'lm', 'lme(r)', 'lmer', 'wilcoxon' |
formula |
model formula |
drop |
TRUE / FALSE : drop varname in designmat ? |
codingfun |
factor coding function
|
contrasts |
model coefficient contrasts of interest: string vector or NULL |
coefs |
model coefficients of interest: string vector or NULL |
block |
model blockvar |
weightvar |
NULL or name of weight matrix in assays(object) |
plot |
TRUE / FALSE |
label |
fvar |
palette |
NULL or colorvector |
verbose |
TRUE / FALSE: message? |
SummarizedExperiment
file <- system.file('extdata/atkin.metabolon.xlsx', package = 'autonomics')
object <- read_metabolon(file)
object %<>% analyze()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.