matboxplot | R Documentation |
Box plots of the columns of a matrix, but the columns are ordered and colored by a group-level variable
matboxplot( object, groupFactor, las = 3, brewer.n = 8, brewer.name = "Dark2", ... )
object |
object an object which is inherited from an
|
groupFactor |
a factor variable representing which
group each column in |
las |
a numeric in (0, 1, 2, 3) to orient the axis labels. Default is 3 (always vertical). |
brewer.n |
the number of colors in the palette from the RColorBrewer package. Default is 8. |
brewer.name |
the name of the palette from the RColorBrewer package. Default is "Dark2". |
... |
other arguments that can be passed to the codeboxplot function. |
A box plot for each column in object
library(minfi) data(flowSorted) p <- getBeta(flowSorted, offset = 100) pd <- pData(flowSorted) matboxplot(object = p, groupFactor = pd$CellType)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.