web123456

【scMetabolism】One-stop metabolic pathway gene set scoring

  1. (c("devtools", "", "wesanderson", "Seurat", "devtools", "AUCell", "GSEABase", "GSVA", "ggplot2","rsvd"))
  2. devtools::install_github("YosefLab/VISION")
  3. devtools::install_github("wu-yc/scMetabolism")
  1. load(file = "pbmc_demo.rda")
  2. library(scMetabolism)
  3. library(ggplot2)
  4. library(rsvd)

quantify single cell metabolism in seurat

  1. <-(obj = , method = "VISION", imputation = F, ncores = 2, = "KEGG")
  2. <- @assays$METABOLISM$score

 dimplot

(obj = , pathway = "Glycolysis / Gluconeogenesis",  = "umap",  = F, size = 1)

dotplot

  1. <-c("Glycolysis / Gluconeogenesis", "Oxidative phosphorylation", "Citrate cycle (TCA cycle)")
  2. (obj = , pathway = , phenotype = "ident", norm = "y")

boxplot

(obj = , pathway = , phenotype = "ident", ncol = 1)