TreeViz {scTreeViz} | R Documentation |
SummarizedExperiment-like class for datasets that have hierarchies on either rowData or colData. For microbiome data, rowData is a tree hierarchy For single cell data, colData is a tree hierarchy
TreeViz(assays = SimpleList(), rowData = NULL, colData = NULL, ...)
assays |
simple list of counts |
rowData |
rowData |
colData |
colData |
... |
other parameters for SummarizedExperiment |
a 'TreeViz' object
library(metagenomeSeq) data(mouseData) counts <- MRcounts(mouseData) hierarchy <- fData(mouseData) tree <- TreeIndex(hierarchy) mbiome <- TreeViz(SimpleList(counts=counts), rowData=tree)