goodAvgQuality: This filters out sequences which have bad average quality...

Description Usage Arguments Value

View source: R/helpers_filters.R

Description

This filters out sequences which have bad average quality readings.

Usage

1
goodAvgQuality(reads, avg = 30)

Arguments

reads

(ShortRead object) Loaded reads from fastq.

avg

(numeric) This is what the average score of the quality of sequence should be. For example, if we have a sequence with nucleotides which have quality 70-70-70, the average would be 70. If set the average to 70 or less the sequence will pass. If we set the average to 71 the sequence will not pass. The average is set to 0 by default.

Value

(boolean) Logical vector with the valid rows as TRUE.


amplican documentation built on Nov. 8, 2020, 11:10 p.m.