filter_known_genes: Filter genes from an RNA tibble.

View source: R/filter_counts.R

filter_known_genesR Documentation

Filter genes from an RNA tibble.

Description

Filter genes from an RNA tibble.

Usage

filter_known_genes(x, what = "rm", specials = "MALAT1")

Arguments

x

The tibble for RNA.

what

A code string. If this contains "r" ribosomal genes are removed. If this contains "m" mitocondrial genes are removed. Both are matched by a regular expression.

specials

A list of genes to remove a priori.

Value

The RNA tibble without the required gene entries.

Examples

data('example_input')
filter_known_genes(example_input$rna)

Militeee/rcongas documentation built on Nov. 1, 2024, 2:38 a.m.