scPathogenRatioPlot: scPathogenRatioPlot function

View source: R/scPathogenRatioPlot.R

scPathogenRatioPlotR Documentation

scPathogenRatioPlot function

Description

pathogen population plot by clusters

Usage

scPathogenRatioPlot(
  object = NULL,
  species = NULL,
  cols = NULL,
  split.by = NULL,
  ncol = NULL
)

Arguments

object

Seurat object

species

Name of pathogen species

cols

Colors to plot

split.by

Name of a metadata column to split plot by

ncol

Number of columns for display the plots

Value

A ggplot object

Examples

data("H3N2_small")
scPathogenRatioPlot(object = H3N2_small,
  species = "H3N2",
  split.by = "sample",
  ncol = 2
)


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