
Plots for UMAP
autoplot.glystats_umap_res.RdVisualization for results from glystats::gly_umap() (glystats_umap_res objects).
Draw a scatter plot of UMAP coordinates.
Usage
# S3 method for class 'glystats_umap_res'
autoplot(object, groups = NULL, group_col = NULL, ...)Arguments
- object
A
glystats_umap_resobject.- groups
A factor or character vector specifying group membership for each sample. If provided, the plot will be colored by group.
- group_col
A character string specifying where to find the group information. If you uses
glystats::gly_umap()on aglyexp::experiment()to get the result, sample information has already been added to the result. In this case, you can specify the column name in the sample information tibble to be used for coloring. If not provided, this function will try "group".- ...
Ignored.