#Load the example dataset and get the coverage
data(nucleosome_htseq)
cov = coverage.rpm(nucleosome_htseq)
print(cov)
#Plot it
plot(as.vector(cov[["chr1"]]), type="l", ylab="coverage", xlab="position")
Run the code above in your browser using DataLab