strata_from_blast_dir: Build a Strata object from a directory of BLAST results

View source: R/blast.R

strata_from_blast_dirR Documentation

Build a Strata object from a directory of BLAST results

Description

The directory must contain one file for each search of the focal species against a target species. The format of the filenames must be <taxon_id>.<ext>. The species must all have NCBI taxonomy IDs. The files must have headers and the columns expected by read_blast.

Usage

strata_from_blast_dir(focal_species, blastdir = ".", ext = "tab", ...)

Arguments

focal_species

character: the taxonomy ID of the species that was used in the BLAST

blastdir

filename: the directory containing the BLAST results

ext

character: the file extension (e.g. 'tab' or 'blast.tab')

...

additional arguments sent to strata_from_taxids

Value

Strata object wrapping a NCBI tree built from the target species.


arendsee/phylostratr documentation built on Dec. 31, 2022, 10:22 a.m.