powered by
The function returns basic statistics about read coverage per base. It can also plot a histogram of read coverage values.
getCoverageStats(object,plot=FALSE,both.strands=FALSE,labels=TRUE,...)
a methylRaw object
methylRaw
plot a histogram of coverage if TRUE (default:FALSE)
do stats and plot for both strands if TRUE (default:FALSE)
should the bars of the histrogram have labels showing the percentage of values in each bin (default:TRUE)
options to be passed to hist function
hist
a summary of coverage statistics or plot a histogram of coverage
# NOT RUN { data(methylKit) # gets coverage stats for the first sample in methylRawList.obj object getCoverageStats(methylRawList.obj[[1]],plot=TRUE,both.strands=FALSE,labels=TRUE) # }
Run the code above in your browser using DataLab