This function will keep only rows that have a minimum counts of
1 at least in a
min number of samples (default 80
degFilter(counts, metadata, group, min = 0.8, minreads = 0)
Matrix with expression data, columns are samples and rows are genes or other feature.
Data.frame with information about
each column in counts matrix. Rownames should match
Character column in metadata used to group samples and applied the cutoff.
Percentage value indicating the minimum number of samples in each group that should have more than 0 in count matrix.
Integer minimum number of reads to consider a feature expressed.
matrix after filtering genes (features)
with not enough expression in any group.