compositionJF | R Documentation |
Composition plot for Joes Flow
compositionJF(meta, grp, kmeans_groups, colors)
meta |
Data frame containing metadata labels. Names of each element of the vector should correspond to sample IDs and include all IDs in 'kmeans_groups'. |
grp |
Column of meta to use for grouping of data |
kmeans_groups |
Named character vector containing Kmeans group label for each sample. Names of each element of the vector should correspond to sample IDs and include all IDs in 'meta'. |
colors |
Vector of colors for clusters |
A ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.