scDensityPlot: scDensityPlot function

View source: R/scDensityPlot.R

scDensityPlotR Documentation

scDensityPlot function

Description

Visualize density plot in low dimensional embedding

Usage

scDensityPlot(
  object = NULL,
  reduction = NULL,
  title = NULL,
  split.by = NULL,
  ncol = NULL,
  colors = NULL,
  digits = NULL
)

Arguments

object

Seurat object

reduction

Dimensional reduction to use, default reduction='umap'

title

Figure title

split.by

Name of a meta.data column to split plot by

ncol

Number of columns for display the plots

colors

Vector of colours to use for n-colour gradient

digits

Integer representing the number of decimal places reserved for the legend, default digits=3

Value

A ggplot object

Examples

scDensityPlot(object = H3N2_small,
  reduction = "umap",
  split.by = "sample",
  ncol = 2
)


ncrna/Yeskit documentation built on Oct. 27, 2023, 2:13 a.m.