draw_heatmap | R Documentation |
This produces a heatmap of the chosen assay and groups by various sample variables.
draw_heatmap(
object,
assay_name,
color_extremes = c(0.01, 0.99),
col_data_annotation = NULL,
...
)
object |
( |
assay_name |
( |
color_extremes |
( |
col_data_annotation |
( |
... |
additional arguments to pass to |
The ComplexHeatmap::Heatmap
heatmap
result <- hermes_data %>%
normalize(methods = "voom") %>%
add_quality_flags() %>%
filter(what = "genes")
draw_heatmap(
object = result[1:10, ],
assay_name = "counts",
col_data_annotation = "COUNTRY"
)
draw_heatmap(
object = result[1:10, ],
assay_name = "counts",
color_extremes = c(0.001, 0.999),
col_data_annotation = "AGEGRP"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.