Filter out sequences retrieved by search_primer_pair() that are either too short or too long. The alignment and tree will be recalculated after removing unwanted reads.

Share:

Description

Filter out sequences retrieved by search_primer_pair() that are either too short or too long. The alignment and tree will be recalculated after removing unwanted reads.

Usage

1
2
3
4
filter_seqs(x, ...)

## S3 method for class 'primerTree'
filter_seqs(x, min_length = 0, max_length = Inf, ...)

Arguments

x

a primerTree object

...

additional arguments passed to methods.

min_length

the minimum sequence length to keep

max_length

the maximum sequence length to keep

Value

a primerTree object

Methods (by class)

  • primerTree: Method for primerTree objects

Examples

1
2
3
4
5
## Not run: 
# filter out sequences longer or shorter than desired:
mammals_16S_filtered <- filter_seqs(mammals_16S, min_length=131, max_length=156)

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.