Learn R Programming

mascarade (version 0.3.0)

Generating Cluster Masks for Single-Cell Dimensional Reduction Plots

Description

Implements a procedure to automatically generate 2D masks for clusters on dimensional reduction plots from methods like t-SNE (t-distributed stochastic neighbor embedding) or UMAP (uniform manifold approximation and projection), with a focus on single-cell RNA-sequencing data.

Copy Link

Version

Install

install.packages('mascarade')

Version

0.3.0

License

MIT + file LICENSE

Maintainer

Alexey Sergushichev

Last Published

January 12th, 2026

Functions in mascarade (0.3.0)

generateMask

Generate mask for clusters on 2D dimensional reduction plots
fancyMask

Generate ggplot2 layers for a labeled cluster mask
generateMaskSeurat

Generates mask from a Seurat object. Requires SeuratObject package.
exampleMascarade

Example data with UMAP points from PBMC3K dataset.
geom_mark_shape

Annotate areas with polygonal shapes