Learn R Programming

Reol (version 1.55)

subsetDataForHierTrees: Subset Data For Hier Trees

Description

This internal function removes repeat taxonomic units, undefined clades, and NAs from hierarchy information.

Usage

subsetDataForHierTrees(oneFileHier, HierID)

Arguments

oneFileHier
A dataframe of taxonomic hierarchy information out of OneFileHierarchy function
HierID
Hierarchy ID value of interest

Value

Returns a subset data frame with only parent nodes from HierID up for building taxonomic trees.