dimreductJF | R Documentation |
Plot a dimension reduction figure for JoesFlow
dimreductJF(x, sample_data, features, ...)
## S3 method for class 'prcomp'
dimreductJF(x, sample_data, features, ...)
## S3 method for class 'matrix'
dimreductJF(x, sample_data, features, ...)
x |
Object containing clustered data (expects output from 'prcomp', 'uamp', or 'Rtsne') |
sample_data |
sample data |
features |
named vector, features in names(sample_data), names(features) = unique(kmeans_groups) – names should be ordered |
... |
Other objects passed along to functions within clusterJF |
A ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.