Description Usage Arguments Value
View source: R/remove_contam_reads.R
This function removes contaminating reads, generally rRNA/tRNA reads, but can be configured to remove reads mapping to wherever the user chooses. It uses a user provided GFF to remove reads that map to user designated regions.
1 | remove_contam_reads(bamList, gffLoc, contaminants)
|
bamList |
A named list of bam files |
gffLoc |
The path to a gff |
contaminants |
A character vector containing the thing in gffCol you want to remove, for example, rRNA. This is searched for in the gff "type" column to make a gff that defines the contaminating reads. This is currently not flexible because it requires a "type" column. |
A list of bams depleted of contaminating reads
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.