Utility function to filter out low-expressed genes

expression_filtering(counts, min_counts = 20, min_samples = 3)

Arguments

counts

n by p matrix containing the count data.

min_counts

integer, corresponding to the minimum number of counts for the gene to be considered expressed in a sample. Default is 20.

min_samples

integer, corresponding to the minimum of samples for a gene to be expressed to be included in downstream analyses.

Value

The filtered counts matrix