Description Usage Arguments Value
View source: R/MakeHierarchyTree.R
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)
1 2 | RepeatDataToDrop(TreeData)
DropADim(TreeData)
|
TreeData |
A data frame from |
DropADim
returns a new TreeData table with no NAs. RepeatDataToDrop
returns boolean response of whether to drop data or not.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.