TreeIndex: create a new TreeIndex object

Description Usage Arguments Value Examples

View source: R/TreeIndex-class.R

Description

create a new TreeIndex object

Usage

1
TreeIndex(hierarchy = NULL, feature_order = NULL)

Arguments

hierarchy

hierarchy as a data.table

feature_order

order of the tree if different from colnames

Value

a 'TreeIndex' object

Examples

1
2
3
4
5
library(metagenomeSeq)
data(mouseData)
counts <- MRcounts(mouseData)
hierarchy <- fData(mouseData)
tree <- TreeIndex(hierarchy)

HCBravoLab/TreeViz documentation built on Sept. 29, 2021, 4:31 a.m.