Filtering low expressing genes in RNAseq assays
RNAseq assays often exhibit thousands genetic loci with extremely low expression that are irrelevant to downstream statistical analysis. Low expressed genetic loci arise because of sample preparation, tissue type sampled, treatment, and more. Low-expressing loci, not due to treatment effects, diminish power of differential expression (DE) testing because their signal/noise ratio is too small to actuallly detect DE status and they could add significant penalty in the multiple testing correction. They may also increase the computational complexity in downstream analyses. This R package is useful for filtering out these low-expressing genes that have no relation to treatment effects in a way that respects time-course designs with multiple treatments (e.g. genotype). The package's name, noleaven, refers to identifying and removing genes that have no appreciable rise in coverage (like unleavened bread) to consider for downstream statistical analysis.
The popular Bioconductor package, edgeR, has a user guide that gives an examples of how to filter out lowly expressing genes. However, the filter is not entirely cognizant of treatment or time considerations. For example, For example, on page 43 they describe an experiment of 4 replicates per treatment (wild-type/transgenic) on mice. They require at least 4 out of 8 replicates to have a minimum of 1 count per million reads. For simplicity of numbers, suppose that each library has 10 million reads and consider two genes assayed:
The motivation of the filter is to exclude mRNA sequences that are not represented in at least one of the treatment groups; although, this is goal is not entirely attained with the present edgeR filtering guide: in this example, genes that have 2 out of 4 replicates satisfying the minimum count in each treatment group, but are zero in the other remaining replicates could be kept. So gene A would be kept when it should be filtered out for unreliability. It is more intuitive to flag low-expressing genes within treatment and/or time point and then ulitimately filter out the genes that do not pass any of the filter thresholds across treatment and/or time. Such a procedure would keep gene B, but would exclude gene A. This strategy eliminates only genes that have low coverage across all treatments and preserves genes that exhibit time or treatment-induced low-expression.
Now consider a time-course assay with two genotypes and three time points. Suppose that one might want to filter low expressing genes that don't satisfy a minimum of 10 counts per replicate, for at least 3 out of 4 replicates within at least one (time point, genotype) pair. Consider the same two genes A & B.
The edgeR User guide does not comment on how to filter multi-factor experiments such as this. Under the criteria described above, we should filter out gene A, but keep gene B because it has a clear response in the transgenic at the first time point. The noleaven R package easily handles this scenario.
In summary, the noleaven R package was designed to identify low-expresing genes within each time and/or treatment constraints and then ultimately filter out those genes that are flagged as low-expressing in all time or treatment groups.
This R package has successfully been installed on Ubuntu. In the terminal enter R CMD INSTALL noleaven/
.
A basic example of usage can be found in the repository as a pdf or Knitr source code.