plot_metagene: Produce a metagene plot

Description Usage Arguments Value Examples

View source: R/plot_metagene.R

Description

Produce a metagene plot

Usage

1

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

1
2
3
4
5
6
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)

metagene documentation built on Nov. 8, 2020, 5:37 p.m.