Internal function for rolling up and down

roll(
  column,
  fun = c,
  include_self = TRUE,
  predicates = "biolink:subclass_of",
  direction = "up",
  ...
)

Arguments

column

The node column to draw rollup or rolldown information from.

fun

The aggregation function to use when rolling up or down. Default is c

include_self

Whether to include each nodes' value in column in the rollup/rolldown for that node.

predicates

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

direction

Whether to roll up or down.

...

Other parameters (unused)