Description Usage Arguments Value
View source: R/dm_plotProportions.R
Plot observed and/or estimated feature proportions.
1 2 3 |
counts |
Matrix with rows corresponding to features and columns corresponding to samples. Row names are used as labels on the plot. |
group |
Factor that groups samples into conditions. |
md |
Data frame with additional sample information. |
fit_full |
Matrix of estimated proportions with rows corresponding to
features and columns corresponding to samples. If |
main |
Character vector with main title for the plot. If |
plot_type |
Character defining the type of the plot produced. Possible
values |
order_features |
Logical. Whether to plot the features ordered by their expression. |
order_samples |
Logical. Whether to plot the samples ordered by the
group variable. If |
group_colors |
Character vector with colors for each group. |
feature_colors |
Character vector with colors for each feature. |
ggplot
object with the observed and/or estimated with
Dirichlet-multinomial model feature ratios. Estimated proportions are
marked with diamond shapes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.