plotCoverage {Repliscope} | R Documentation |
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.
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
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
plotCoverage(W303_G2)
plotObject <- plotCoverage(W303_S,plotting=FALSE)
[Package Repliscope version 1.1.1 Index]