PomaHeatmap | R Documentation |
PomaHeatmap
generates a heatmap.
PomaHeatmap(
data,
covs = NULL,
sample_names = TRUE,
feature_names = FALSE,
show_legend = TRUE
)
data |
A |
covs |
Character vector. Indicates the names of |
sample_names |
Logical. Indicates if sample names should be displayed or not. Default is TRUE. |
feature_names |
Logical. Indicates if feature names should be displayed or not. Default is FALSE. |
show_legend |
Logical. Indicates if legend should be displayed or not. Default is TRUE. |
A ggplot
object.
Pol Castellano-Escuder
data <- POMA::st000284 %>% # Example SummarizedExperiment object included in POMA
PomaNorm()
# Basic heatmap
data %>%
PomaHeatmap()
# Heatmap with one covariate
data %>%
PomaHeatmap(covs = "factors")
# Heatmap with two covariates
data %>%
PomaHeatmap(covs = c("factors", "smoking_condition"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.