Description Usage Arguments Value Author(s) See Also
View source: R/deprecate_Fun.R
aggValue
aggregates values on the leaf nodes of a tree to a specific
arbitrary level of the tree. The level is specified via the nodes of the
tree. Users could decide on which dimension (row or column) and how should
the aggregation be performed.
1 2 3 4 5 6 7 8 9 10 |
x |
A |
rowLevel |
A numeric (node numbers) or character (node labels) vector.
It provides the level on the tree that data is aggregated to. The
aggregation is on the row dimension. The default is |
rowBlock |
A column name in the |
colLevel |
A numeric (node numbers) or character (node labels) vector.
It provides the level on the tree that data is aggregated to. The
aggregation is on the column dimension. The default is |
colBlock |
A column name in the |
FUN |
A function to be applied on the aggregation. It's similar to the
|
assay |
A integer scalar or string indicating which assay of |
message |
A logical value. The default is TRUE. If TRUE, it will print out the running process. |
A TreeSummarizedExperiment
object or a
matrix
. The output has the same class of the input x
.
Ruizhu HUANG
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.