plot_metagene {metagene} | R Documentation |
Produce a metagene plot
plot_metagene(df)
df |
a |
A 'ggplot' object.
region <- get_demo_regions()[1] bam_file <- get_demo_bam_files()[1] mg <- metagene$new(regions = region, bam_files = bam_file) mg$produce_data_frame() df <- mg$get_data_frame() p <- plot_metagene(df)