To encourage paths which link to a common root, among the shortest path, the path to the best root is chosen by taking the smallest path weight + root weight.

simplify_coelution_subgraph(
  one_coelution_subgraph,
  min_edge_inconsistency_for_root = 1,
  root_weight_constant = 1.25
)

Arguments

one_coelution_subgraph

the edgelist for a single prelim_metaGroup

min_edge_inconsistency_for_root

When determining the network's roots, ignore edges represented by less than min_edge_inconsistency_for_root samples.

root_weight_constant

W(R) = C / sum(n of daughter edges + 1)

Value

a tibble containing groupId summaries