filter_genes: Filter genes base on avarage counts

View source: R/filter_genes.r

filter_genesR Documentation

Filter genes base on avarage counts

Description

Filter genes that have avarage counts fewer than cutoff)

Usage

filter_genes(
  sce,
  cutoff = 0,
  ncores = 1,
  prefix = NULL,
  plot = TRUE,
  write = TRUE,
  verbose = TRUE
)

Arguments

sce

A SingleCellExperiment object containing expression values, usually counts.

cutoff

The cutoff of avarage counts for filtering. cutoff should be >= 0.

ncores

Number of cores.

prefix

Prefix for file name for the QC metrics histograms.

plot

TRUE/FASLE for whether plot the QC metrics histograms.

write

TRUE/FASLE for whether write the table of filtered cells.

verbose

TRUE/FASLE for specifying whether diagnostics should be printed to screen.

Value

A SingleCellExperiment object.


huipan1973/ezscrnaseq documentation built on July 12, 2022, 9:36 p.m.