• Member for 3 years
  • Last seen this week
  • Zaga dat
How can I obtain the percentage gene expression per identity class in Seurat as further processible numbers (e.g. matrix)?
Accepted answer
5 votes

This can be solved like this: library(Seurat) my_genes <- c("gene1", "gene2", "gene3") exp <- FetchData(object, my_genes) matrix <- as.matrix(colMeans(exp > 0))*100

View answer