TreeIndex {scTreeViz}R Documentation

create a new TreeIndex object

Description

create a new TreeIndex object

Usage

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

library(metagenomeSeq)
data(mouseData)
counts <- MRcounts(mouseData)
hierarchy <- fData(mouseData)
tree <- TreeIndex(hierarchy)

[Package scTreeViz version 1.0.0 Index]