plotBed: A function to boxplot 'score' column of a BED dataframe, per...

Description Usage Arguments Examples

View source: R/plotBed.R

Description

A function to boxplot 'score' column of a BED dataframe, per unique chromosome name in the 'chrom' column. The resulting plot also highlights outliers based on the inter quartile range (IQR). The genome wide median is plotted as a pink line through the boxplots.

Usage

1
plotBed(bed, plotting = TRUE)

Arguments

bed

A dataframe containing 'score' and 'chrom' columns (dataframe).

plotting

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

Examples

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

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