Description Usage Arguments Value Examples
A convenience function for creating a UMAP scatter plot for samples in an ExpressionSet/MSnSet object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
eset |
eset (or most likely eset subclass) object |
phenotype |
character; one of the |
standardize |
logical; should the rows of the expression data be
standardized? (default: |
pca |
logical; whether PCA should be performed prior to UMAP
(default: |
n_perm |
integer; if pca is |
n_neighbors |
integer; number of nearest neighbors to use for UMAP (default: √(n samples)). |
n_epochs |
integer; number of iterations performed during layout optimization. |
min_dist |
numeric; determines how close points appear in the final layout (default: 0.01). |
legend_title |
character; the title for the legend. If NULL, is set to the wrapped up phenotype. |
legend_title_width |
integer; wrapping up too long legend titles.
Passed to |
point_size |
numeric; size of the plotted points (default: 4). |
show_ellipse |
logical; whether to plot 50% confidence ellipses. |
ellipse_type |
character; the type of ellipse. The default "norm" assumes a multivariate normal distribution, and "t" assumes a multivariate t-distribution. |
show_na |
logical; should the data points for which phenotype is
unknown be shown? (default: |
... |
Other arguments that can be passed to the UMAP configuration.
See |
A ggplot object
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.