Hierarchical tree for the rows of a
TreeSummarizedExperiment
object. The tree can be produced with addTaxonomyTree
and gets stored in the rowTree
slot of the experiment object. The panel implements plotRowTree
to generate the plot.
The RowTreePlot(...)
constructor creates an instance of a RowTreePlot
class, where any slot and its value can be passed to ...
as a named
argument.
This class inherits all slots from its parent class TreePlot.
# Import TreeSE
library(mia)
data("Tengeler2020", package = "mia")
tse <- Tengeler2020
# Store panel into object
panel <- RowTreePlot()
# View some adjustable parameters
head(slotNames(panel))
#> [1] "layout" "add.legend" "edge.colour.by" "tip.colour.by"
#> [5] "order.tree" "tip.size.by"
# Launch iSEE with custom initial panel
if (interactive()) {
iSEE(tse, initial = c(panel))
}