Hierarchical tree for the columns of a
TreeSummarizedExperiment
object. The tree represents the sample hierarchy of the study and gets stored
in the colTree
slot of the
experiment object. The panel implements plotColTree
to generate the plot.
The ColumnTreePlot(...)
constructor creates an instance of a
ColumnTreePlot 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 <- ColumnTreePlot()
# 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))
}