simple_filter_counts: Filter low-count genes from a data set only using a simple...

View source: R/normalize_filter.R

simple_filter_countsR Documentation

Filter low-count genes from a data set only using a simple threshold and number of samples.

Description

This was a function written by Kwame Okrah and perhaps also Laura Dillon to remove low-count genes. It drops genes based on a threshold and number of samples.

Usage

simple_filter_counts(count_table, threshold = 2)

Arguments

count_table

Data frame of (pseudo)counts by sample.

threshold

Lower threshold of counts for each gene.

Value

Dataframe of counts without the low-count genes.

See Also

[edgeR]

Examples

## Not run: 
 filtered_table <- simple_filter_counts(count_table)

## End(Not run)

elsayed-lab/hpgltools documentation built on May 9, 2024, 5:02 a.m.