Scatter plot showing pathway enrichment score

pathwayScatterplot(
  SeuratObj,
  by = "GO",
  pathwayID = NULL,
  reduction = "umap",
  colour = "OrRd",
  pointsize = 1,
  label = TRUE,
  label.size = 4
)

Arguments

SeuratObj

Object of class "Seurat"

by

which GSEA result to show

pathwayID

ID of pathway to show

reduction

"umap", "tsne", "pca"

colour

see RColorBrewer::brewer.pal.info

pointsize

size of point

label

label cluster or not

label.size

size of label

Examples

if (FALSE) { pathwayScatterplot(SeuratObj, by = "GO", pathwayID = "GO:0002576") }