plot_projection: A function to visualize/plot a projection

View source: R/projections.R

plot_projectionR Documentation

A function to visualize/plot a projection

Description

A function to visualize/plot a projection

Usage

plot_projection(se, reduction = "umap", feature_color = NA, feature_shape = NA)

Arguments

se

A SummarizedExperiment object

reduction

A name of the slot data where projection is is stored: 'umap', 'tsne' or 'pca'

feature_color

If specified, the projection will be color-coded using the specified feature from colData(se)

feature_shape

If specified, the projection will be shape-coded using the specified feature from colData(se)

Value

A ggplot object


skimlab/CCSBUtils documentation built on March 30, 2022, 4:52 a.m.