# Prepare the groups
bamFileName <- system.file("extdata/align1_rep1.bam", package="metagene")
listFileName <- system.file("extdata/list1.txt", package="metagene")
groups <- parseFeatures(bamFileName, listFileName, specie="mouse")
# Do the graph
DF <- plotMatrices(list(g1="list1"), groups)
Run the code above in your browser using DataLab