plotCoverage: A function to scatterplot 'score' column of a BED dataframe...

Description Usage Arguments Examples

View source: R/plotCoverage.R

Description

A function to scatterplot 'score' column of a BED dataframe plotCoverage function plots values in the 'score' column of the supplied bed dataframe as a function of chromosome coordinates. The genome wide median is plotted as a pink line.

Usage

1
plotCoverage(bed, region = FALSE, plotting = TRUE)

Arguments

bed

A dataframe containing 'score','chrom','chromStart' and 'chromEnd' columns (dataframe).

region

Only plot for the provided region in the format 'chrI:1000-3000' (string, optional).

plotting

Should the plot object be sent to the default device? (boolean, defaults to TRUE).

Examples

1
2
plotCoverage(W303_G2)
plotObject <- plotCoverage(W303_S,plotting=FALSE)

Repliscope documentation built on July 15, 2019, 5:02 p.m.