Internal function for rolling up and down
roll(
column,
fun = c,
include_self = TRUE,
predicates = "biolink:subclass_of",
direction = "up",
...
)
The node column to draw rollup or rolldown information from.
The aggregation function to use when rolling up or down. Default is c
Whether to include each nodes' value in column
in the rollup/rolldown for that node.
A vector of relationship predicates (nodes in g are subjects in the KG), indicating which edges to consider in the rollup/rolldown. Should be transitive; default biolink:subclass_of
Whether to roll up or down.
Other parameters (unused)