detectNonGenes: detectNonGenes

Description Arguments Value Author(s) Examples

View source: R/countFuns.R

Description

HTSeq outputs several "non-genes" in the counts output. These include: "__no_feature", "__ambiguous", "__too_low_aQual", "__not_aligned", "__alignment_not_unique". Since these are measurements of the quantification quality and are often undesirable in downstream analysis, this function detects them in the submitted counts data.frame to allow easy removal.

Arguments

counts

data.frame; A data frame with counts data with gene names as rownames.

Value

A logical vector with length = nrow(counts) that is TRUE when the counts data.frame row contains a non-gene.

Author(s)

Jason Serviss

Examples

1
2
counts <- data.frame(runif(10), row.names = c(1:9, "__no_feature"))
detectNonGenes(counts)

jasonserviss/sp.scRNAseqData documentation built on Jan. 8, 2020, 11:46 a.m.