PomaLM | R Documentation |
PomaLM
performs a linear model on a SummarizedExperiment
object.
PomaLM(data, x = NULL, y = NULL, adjust = "fdr")
data |
A |
x |
Character vector. Indicates the names of independent variables. If it's NULL (default), all features will be used. |
y |
Character. Indicates the name of |
adjust |
Character. Multiple comparisons correction method to adjust p-values. Available options are: "fdr" (false discovery rate), "holm", "hochberg", "hommel", "bonferroni", "BH" (Benjamini-Hochberg), and "BY" (Benjamini-Yekutieli). |
A list
with results including plots and tables.
Pol Castellano-Escuder
data <- POMA::st000284 %>% # Example SummarizedExperiment object included in POMA
PomaImpute() %>%
PomaNorm()
## Output is a list with objects `lm_table` (tibble) and `regression_plot` (ggplot2 object)
# Perform linear model with all features
data %>%
PomaLM()
# Perform linear model with two features
data %>%
PomaLM(x = c("x1_methyladenosine", "x2_deoxyuridine"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.