Description Usage Arguments Value Examples
View source: R/plot_metagene.R
Produce a metagene plot
1 | plot_metagene(df, facet_by = NULL, group_by = NULL)
|
df |
a |
facet_by |
A formula to be used for facetting the metagene plot. This
formula can include any design metadata, or region_metadata
|
group_by |
A string representing a single column from design_metadata or
region_metadata which will be used to group observations
together into lines and which will be used to generate the
color scale. |
A 'ggplot' object.
1 2 3 | mg <- get_demo_metagene()
df <- mg$add_metadata()
p <- metagene2::plot_metagene(df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.