Skip to contents

Filter out cells based on minimum and maximum number of genes and maximum percentage mitochondrial reads. If cutoffs are not provided, the min_genes will be the 0.02 quantile, and the max genes will be 0.98 quantile and the mitochondrial percentage will be 10

Usage

filter_data(
  data,
  log_file = NULL,
  min_genes = NULL,
  max_genes = NULL,
  max_mt = 10
)

Arguments

data

A tibble with metadata.

log_file

Log file.

min_genes

Minimum number of genes per cell.

max_genes

Maximim number of genes per cell.

max_mt

Maximum percentage of mitochondrial reads per cell.

Value

Filtered data