# Default is to plot red channels in red and green channels in green
plotDensities(MA)
# Alternatively colors
plotDensities(MA, col=c("red","blue"))
# Color by group, with three groups:
plotDensities(MA,group=group,col=c("blue","orange","green"))
Run the code above in your browser using DataLab