plot_metagene {metagene2} | R Documentation |
Produce a metagene plot
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.
mg <- get_demo_metagene() df <- mg$add_metadata() p <- metagene2::plot_metagene(df)