Cell Type Proportion Plot

Description

Draws a vertical barplot of cell-types proportions.

Usage

propplot(x, col = NULL, legend.text = TRUE, scale = FALSE, legwidth = 10, ...)

Arguments

x
data. Can be a matrix with cell types in rows and samples in columns, or an NMF-class object that contains proportions as its mixture coefficient matrix, e.g. as computed by ged.
col
color specification
legend.text
logical that indicates if a legend should be added to the plot, or the text of the legend as in barplot.
scale
logical that indicates if the data should be scaled so that columns sum up to one, like proportions.
legwidth
number of margin lines left to display the legend in the plot margin.
...
extra arguments passed to barplot.