Hello,
I am looking for help on how to filter mitochondrial genes from a Seurat object. Running the following code results in a percent.mt of zero for all cells:
mito.genes <- grep(pattern = "^MT-", x = Features(seurat), value = TRUE, ignore.case = TRUE)
seurat[["percent.mt"]] <- PercentageFeatureSet(seurat, pattern = "^Mt-") # Any variation of MT, Mt, and mt
VlnPlot(seurat, features = c("nFeature_RNA", "nCount_RNA", "percent.mt"), ncol = 3)
Manually searching for mitochondrial genes using Features(seurat) shows mitochondrial genes are present in my features, but without the mt label. Thank you!
Thank you for the correction. I mistook Atp8a1 with MT-ATP8, but I am still interested in removing mitochondrial genes. I an analyzing GSM3017261 of the following dataset, which is provided in the form of a sparse matrix: https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE110823
Is it possible that the authors have filtered the mitochondrial genes prior to upload? Just want to make sure that mitochondrial genes are not being included by accident.
Very possible. The most sure way would be to use ensembl, look up the gene symbol to get the gene position, and remove anything with chrM.