plotDen | R Documentation |
Draw column densities of an object over multiple plots by using limma::plotDensities() function.
plotDen(dat, name = "", per.plot = 8, main = NULL, group = NULL,
legend = TRUE)
dat |
an object of log2-normalized protein (or gene) expressions, containing markers in rows and samples in columns. |
name |
name tag for the output file. |
per.plot |
number of densities to be drawn on a single plot. If NULL, ncol(object) will be used. |
main |
character string, an overall title for the plot. |
group |
vector or factor classifying the arrays into groups. Should be same length as ncol(object). |
legend |
character string giving position to place legend. See 'legend' for possible values. Can also be logical, with FALSE meaning no legend. |
pdf plot(s).
dat = setNames(as.data.frame(matrix(1:(5*10),5,10),
row.names = paste('marker',1:5,sep='')), paste('sample',1:10,sep=''))
plotDen(dat, name = 'myresults')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.