tree.partition: Determine optimal phylogenetic neighborhood threshold.

Description Usage Arguments Value

View source: R/tree.partition.R

Description

Determines patristic distance threshold that maximizes the number of host inferences returned at the phylum rank.

Usage

1
tree.partition(type, query, tree, alignment, taxonomy, cutoffs)

Arguments

query

Vector of query sequence names.

tree

Phylogenetic tree in Newick format containing query sequences placed onto a reference tree.

alignment

Nucleotide alignment used for constructing phylogenetic tree of query and reference sequences (e.g., SEPP output alignment).

taxonomy

Data frame containing taxonomic information and genomic location for each reference sequence.

cutoffs

Data frame containing patristic distance and pairwise percent identity cutoffs for each taxonomic rank.

Value

An object of class numeric


BKapili/ppit documentation built on July 23, 2020, 1:52 a.m.