RepeatDataToDrop: Repeat Data To Drop

Description Usage Arguments Value

View source: R/MakeHierarchyTree.R

Description

These internal functions determine columns or rows of data that are either all the same (thus providing no hierarchical information) or contain NAs. DropADim walks through the TreeData table and deletes either a row or a column that has the most amount of missing data. It continues this stepwise until there are no longer any NAs in TreeData. This preserves as much data as possible. Then RepeatDataToDrop will delete any columns of TreeData that have all the same information (these can not be used with ape tree plotting)

Usage

1
2
RepeatDataToDrop(TreeData)
DropADim(TreeData)

Arguments

TreeData

A data frame from

Value

DropADim returns a new TreeData table with no NAs. RepeatDataToDrop returns boolean response of whether to drop data or not.


Reol documentation built on May 30, 2017, 12:30 a.m.