plot_metagene {metagene}R Documentation

Produce a metagene plot

Description

Produce a metagene plot

Usage

plot_metagene(df)

Arguments

df

a data.frame obtained with the get_data_frame function. Must have the following columns: "region", "design", "bin", "value", "qinf" and "qsup".

Value

A 'ggplot' object.

Examples

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)

[Package metagene version 2.24.0 Index]