View source: R/regressFactors.R
regressFactors | R Documentation |
if y
is specified, use that instead of assay(x) but constrain it the same
if purify
is specified, purify assay(x) before proceeding with the fit(s)
regressFactors(
x,
columns,
y = NULL,
how = c("lmFit", "concordance"),
check = TRUE,
purify = FALSE,
purity = NULL,
betas = FALSE,
...
)
x |
a SummarizedExperiment-like object |
columns |
colData(x) column names to regress as predictors |
y |
optional matrix w/ ncols(x) columns (default is assay(x)) |
how |
"lmFit" (default) or "concordance" (survival::concordance) |
check |
ensure that the selected columns of y are non-NA? (TRUE) |
purify |
purify |
purity |
if |
betas |
if |
... |
additional arguments to lmFit, if how == "fit" |
a fitted model (use topTable on it) or concordance object
purify
limma::lmFit
limma::topTable
survival::concordance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.