seurat_dimred_encircle_add: Encircle with Seurat meta.data

View source: R/plot_dimred_encircle.R

seurat_dimred_encircle_addR Documentation

Encircle with Seurat meta.data

Description

Encircle by Kernel Density Estimate contours

Usage

seurat_dimred_encircle_add(
  object,
  reduction = NULL,
  group.by = NULL,
  split.by = NULL,
  cells = NULL,
  ...
)

Arguments

object

Seurat object

reduction

Name of reduction in Seurat object. Uses last in list by default.

group.by

Name of meta data column used for grouping contours

split.by

Name of meta data column included in the ggplot data.frame (for usage in splitting)

cells

Subset of cells to be used for calculating KDE contours. Cell barcodes or indices.

Value

list of ggplot elements


Terkild/scutility documentation built on Jan. 16, 2025, 5:28 p.m.