Learn R Programming

SnapATAC (version 1.0.0)

plotBinCoverage: Plot Bin Coverage Distribution

Description

Plot Bin Coverage Distribution

Usage

plotBinCoverage(obj, rm.zeros, pdf.file.name, pdf.width, pdf.height, ...)

Arguments

obj

a snap object

rm.zeros

Remove bins of zero coverage when ploting the coverage distribution [TRUE].

pdf.file.name

pdf file name to save the plot [NULL].

pdf.width

the width of the graphics region in inches [7].

pdf.height

the height of the graphics region in inches [7].

...

Arguments passed to hist method.

Examples

Run this code
# NOT RUN {
data(demo.sp);
plotBinCoverage(demo.sp, col="grey", border="grey");
# }

Run the code above in your browser using DataLab