Skip to content

mascarade

Generating Cluster Masks for Single-Cell Dimensional Reduction Plots

v0.3.4 · Apr 14, 2026 · MIT + file LICENSE

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.

Downloads

CRAN

611

Last 30 days

5445th

2.1K

Last 90 days

3.9K

Last year

Trend: -1.8% (30d vs prior 30d)

r2u CRAN

7

Last 30 days

44

Last 90 days

65

Last year

Trend: -70.8% (30d vs prior 30d)

autoCRAN

1

Last 7 days

10

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 10, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 9, 2026
ERROR r-devel-linux-x86_64-debian-gcc

re-building of vignette outputs

Error(s) in re-building vignettes:
  ...
--- re-building ‘mascarade-gallery.Rmd’ using rmarkdown
--- finished re-building ‘mascarade-gallery.Rmd’

--- re-building ‘mascarade-tutorial.Rmd’ using rmarkdown

Quitting from mascarade-tutorial.Rmd:203-205 
...[truncated]...
utorial.Rmd' failed with diagnostics:
there is no package called 'Seurat'
--- failed re-building ‘mascarade-tutorial.Rmd’

SUMMARY: processing the following file failed:
  ‘mascarade-tutorial.Rmd’

Error: Vignette re-building failed.
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 27, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE Mar 24, 2026
ERROR r-release-windows-x86_64

examples

Running examples in 'mascarade-Ex.R' failed
The error most likely occurred in:

> ### Name: generateMaskSeurat
> ### Title: Generates mask from a Seurat object. Requires 'SeuratObject'
> ###   package.
> ### Aliases: generateMaskSeurat
> 
> ### ** Ex
...[truncated]...
rror in setnames(borderTable, c("x", "y"), colnames(dims)) : 
  Items of 'old' not found in column names: [x, y]. Consider skip_absent=TRUE.
Calls: generateMaskSeurat ... generateMask -> setnames -> stopf -> raise_condition -> signal
Execution halted
ERROR r-oldrel-windows-x86_64

examples

Running examples in 'mascarade-Ex.R' failed
The error most likely occurred in:

> ### Name: generateMaskSeurat
> ### Title: Generates mask from a Seurat object. Requires 'SeuratObject'
> ###   package.
> ### Aliases: generateMaskSeurat
> 
> ### ** Ex
...[truncated]...
rror in setnames(borderTable, c("x", "y"), colnames(dims)) : 
  Items of 'old' not found in column names: [x, y]. Consider skip_absent=TRUE.
Calls: generateMaskSeurat ... generateMask -> setnames -> stopf -> raise_condition -> signal
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 23, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE Mar 21, 2026
ERROR r-devel-linux-x86_64-debian-gcc

examples

Running examples in ‘mascarade-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: generateMaskSeurat
> ### Title: Generates mask from a Seurat object. Requires 'SeuratObject'
> ###  
...[truncated]...
sider skip_absent=TRUE.
Calls: generateMaskSeurat ... generateMask -> setnames -> stopf -> raise_condition -> signal
Execution halted
Examples with CPU (user + system) or elapsed time > 5s
           user system elapsed
fancyMask 4.848  0.135   7.847
ERROR r-devel-linux-x86_64-fedora-clang

examples

Running examples in ‘mascarade-Ex.R’ failed
The error most likely occurred in:

> ### Name: generateMaskSeurat
> ### Title: Generates mask from a Seurat object. Requires 'SeuratObject'
> ###   package.
> ### Aliases: generateMaskSeurat
> 
> ### ** Ex
...[truncated]...
rror in setnames(borderTable, c("x", "y"), colnames(dims)) : 
  Items of 'old' not found in column names: [x, y]. Consider skip_absent=TRUE.
Calls: generateMaskSeurat ... generateMask -> setnames -> stopf -> raise_condition -> signal
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies data.table spatstat.geom spatstat.explore lifecycle ggplot2 polyclip ggforce vctrs rlang cli systemfonts mascarade

Version History

6 tracked
updated 0.3.4 ← 0.3.3 diff Apr 14, 2026
updated 0.3.3 ← 0.3.2 diff Mar 24, 2026
new 0.3.2 Mar 10, 2026
updated 0.3.2 ← 0.3.1 diff Mar 5, 2026
updated 0.3.1 ← 0.3.0 diff Feb 13, 2026
new 0.3.0 Jan 11, 2026