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

View source: R/plotBed.R

plotBedR Documentation

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.

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

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

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

Repliscope documentation built on Sept. 13, 2022, 9:05 a.m.