internal: Internal TaxCI-functions

Description Usage Arguments Details Author(s)

Description

Dummies: Create dummy variables.

transform_user_table

is.wholenumber

Usage

1
2
3
4
5
Dummies(tree)

transform_user_table(data, x)

is.wholenumber(x, tol = .Machine$double.eps^0.5)

Arguments

tree

A phylogenetic tree in phylo-format.

x

transform_user_table: A metadata table. row.names() must correspond to data[,1].

an R-object

data

A data.frame with two columns: (i) specimen id, (ii) grouping by integers.

tol

Tolerance.

Details

Dummies: Creates 0-1-dummy variables for the taxonomic level as labeled at tip of a tree. The outgroup is ignored.

transform_user_table: Makes cluster object for internal use from a user-provided data.frame and the metadata.

Author(s)

Jonas Eberle


eberlejonas/TaxCI documentation built on July 20, 2021, 9:46 a.m.