plot_violin: Plot Violin plot

View source: R/plotting.R

plot_violinR Documentation

Plot Violin plot

Description

Plots a Violin plot of a single data (gene expression, metrics, etc.) grouped by a metadata variable

Usage

plot_violin(
  seu,
  plot_var = "batch",
  plot_vals = NULL,
  features = "RXRG",
  assay = "gene",
  ...
)

Arguments

seu

A Seurat object

plot_var

Variable to group (color) cells by

features

Features to plot

assay

Name of assay to use, defaults to the active assay

...

Examples


plot_violin(human_gene_transcript_seu, plot_var = "batch", features = c("NRL", "GNAT2"))


whtns/seuratTools documentation built on Oct. 28, 2024, 7:18 a.m.