dotPlot: DotPlot for the specific pathway

View source: R/plot.R

dotPlotR Documentation

DotPlot for the specific pathway

Description

Intuitive way of visualizing how pathway changes across different identity classes (clusters).

Usage

dotPlot(
  object,
  features,
  group_by = NULL,
  split.by = NULL,
  color = NULL,
  pt.size = 3,
  pt.shape = 19,
  nrow = NULL,
  ncol = NULL,
  basesize = 12
)

Arguments

object

A GSVA objectect or data.frame

features

A vector of features to plot

group_by

Name of one or more metadata columns to group (color) cells by

split.by

Factor to split the groups by

color

Colors to use for identity class plotting

pt.size

Size of the points on the plot

pt.shape

If NULL, all points are circles (default)

nrow

Number of rows

ncol

Number of columns

basesize

base font size, given in pt

Author(s)

Kai Guo

Examples

set.seed(123)
library(scGSVA)
data(pbmc_small)
hsko<-buildAnnot(species="human",keytype="SYMBOL",anntype="KEGG")
res<-scgsva(pbmc_small,hsko)
dotPlot(res,features="Wnt.signaling.pathway")

guokai8/scGSVA documentation built on Nov. 15, 2024, 12:54 a.m.