filter_features: Filter a matrix with counts

Description Usage Arguments

View source: R/filter_features.R

Description

Filter a matrix with counts

Usage

1
2
filter_features(x, method = c("counts", "cpm"), min_value, thres_samp,
  groups = NULL, at_least_one = TRUE)

Arguments

method

Method used for the filter: counts or cpm

min_value

minimum value of counts or cpm

thres_samp

minimum number of samples with min_value counts

at_least_one

if at least one treatment meet the requirements, the feature is not removed if treatment is passed. If FALSE, all the treatmens must meet this requirement

treatment

factor with treatment for each sample. If this parameter is passed, the filter condition is verified for each treatment (and not overall)


leandroroser/RNASeqFunctions documentation built on May 17, 2019, 7:31 p.m.