Learn R Programming

Repliscope (version 1.1.1)

plotBed: 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

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

Run the code above in your browser using DataLab