CellScore_VlnPlot: Cell Score Violin Plot

View source: R/Seurat_based.R

CellScore_VlnPlotR Documentation

Cell Score Violin Plot

Description

Plots a violin plot of cell scores from a specific reduction

Usage

CellScore_VlnPlot(
  SerObj,
  reduction = "inmf",
  group.by = "orig.ident",
  compN = 1,
  plot = T,
  raster = F,
  pt.size = 0.1,
  cols = NULL
)

Arguments

SerObj

A Seurat SerObj.

reduction

which reduction to use to get cell scores

plot

if true returns plot else returns SerObj with CellScore

raster

raster or not

pt.size

point size passed to featureplot

cols

color vector passed to VlnPlot

Details

General principles behind it:

Value

plot or SerObj

Examples

CellScore_VlnPlot(SerObj = ComboSerObj_Ser, compN = 2, reduction = "inmf",
plot = T, pt.size = .5,  group.by = "Species", cols = col_vector)


eisascience/scCustFx documentation built on June 2, 2025, 3:59 a.m.