Description Usage Arguments Value
View source: R/treeda-functions.R
Make a matrix with one predictor for each leaf and node in the tree, where the node predictors are the sum of the leaf predictors descending from them.
1 | makeNodeAndLeafPredictors(leafPredictors, tree)
|
leafPredictors |
A predictor matrix for the leaves: rows are samples, columns are leaves. |
tree |
A phylogenetic tree describing the relationships between the species/leaves. |
A predictor matrix for leaves and nodes together: rows are samples, columns are leaf/node predictors.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.