filter_by_tax: Filter sequences by taxonomy

filter_by_taxR Documentation

Filter sequences by taxonomy

Description

Filter sequences by taxonomy

Usage

filter_by_tax(
  x,
  filt_rank,
  filt_value,
  ranks = c("Kingdom", "Phylum", "Class", "Order", "Family", "Genus", "Species")
)

Arguments

x

A DNAbin or DNAString with heirarchial taxonomy

filt_rank

The taxonomic rank to subset at i.e. 'Class'

filt_value

A taxonomic name or vector of taxonomic names to subset filt_rank at at i.e. c('Insecta', 'Arachnida')

ranks

The taxonomic ranks currently assigned to the sequences


alexpiper/taxreturn documentation built on Sept. 14, 2024, 7:56 p.m.