Placement_Node_Selector: Distal / Proximal Node Selection

Placement_Node_SelectorR Documentation

Distal / Proximal Node Selection

Description

This is a function built into the MRCA calculation function which performs the initial determination of whether each placement insertion is closer to the distal or proximal node (Step 1. from Clade_Hit_Finder_Pendant_Final).

Usage

Placement_Node_Selector(Distal_Node, Distal_Length, Tree, Root, Dist_Table)

Arguments

Distal_Node

An integer value for the distal node resulting from a placement.

Distal_Length

An integer value for the distal length between the node inserted by the placement algorithm and the distal node.

Tree

A phylogenetic tree representing the reference sequences in Newick format. This tree is provided as part of the Seroplacer package.

Root

An integer value for the root node of the phylogenetic tree.

Dist_Table

A table of pairwise distances between all pairs of nodes in the phylogenetic tree. Calculated from dist.nodes (ape).

Value

An integer value representing either the distal or proximal node adjacent to the node inserted by the placement algorthim

Examples

Missing

Dogrinev/Seroplacer documentation built on Jan. 28, 2024, 11:26 p.m.