Skip to contents

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.

Usage

remove_mito_ribo(alldata)

Arguments

alldata

A list object containing expression data

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 namespace: SeuratObject
data <- list(data = data@assays$RNA@data)
data <- remove_mito_ribo(data)