Remove mitochondrial and ribosomal genes, and other highly correlated genes
Source:R/helper_celltype_expression.R
remove_mito_ribo.Rd
This function removes mitochondria and ribosomal genes and genes highly correlated with these genes, as mitochondria and ribosomal genes are typically not interesting to look at.
Value
The list object with the mitochrondrial and ribosomal genes and other highly correlated genes removed
Examples
utils::data("example_scrnaseq" , package = "scFeatures")
data <- example_scrnaseq
#> Loading required package: SeuratObject
#> Loading required package: sp
#> 'SeuratObject' was built with package 'Matrix' 1.6.1.1 but the current
#> version is 1.6.4; it is recomended that you reinstall 'SeuratObject' as
#> the ABI for 'Matrix' may have changed
#>
#> Attaching package: 'SeuratObject'
#> The following object is masked from 'package:base':
#>
#> intersect
data <- list(data = data@assays$RNA@data)
data <- remove_mito_ribo(data)