### Load ChipDataSet object
data(cds)
### The data can be plotted in two ways
### As a boxplot
plotFeatures(object = cds, plot.type = "box")
### Or as a density plot
plotFeatures(object = cds, plot.type = "density")
### Additionally, only the subset of features can be shown
plotFeatures(object = cds, plot.type = "box", feature = c("pileup", "length"))
### The position of the graphs on the plot, can be adjusted by 'ncol' argument
plotFeatures(object = cds, plot.type = "box", ncol = 2)
Run the code above in your browser using DataLab