plot_assignments: Plot cell type assignments in UMAP space.

Description Usage Arguments Value

Description

Plot cell type assignments in UMAP space.

Usage

1
2
3
4
5
6
7
plot_assignments(
  assignments,
  umap_coordinates,
  enrichment_threshold = 1,
  point_size = 1,
  rasterize_umap = FALSE
)

Arguments

assignments

A cell type assignment table as returned by assign_cells.

umap_coordinates

A (cell x 2) data.frame containing UMAP coordinates, where the ordering of cells is the same as in the score matrix

enrichment_threshold

Numeric value defining a threshold below which a cell should be considered unassigned (QC metric). 1 by default.

point_size

Numeric value indicating the dot size.

rasterize_umap

Boolean. If TRUE, the UMAP part of the figure is rasterized. This is particularly useful for large datasets.

Value

A ggplot2 object.


gillislab/MetaMarkers documentation built on April 24, 2021, 9:25 p.m.