calculate_edge_flip: Edge flip score

Description Usage Arguments Examples

View source: R/metric_flip.R

Description

Edge flip score

Usage

1
2
3
calculate_edge_flip(net1, net2, return = c("score", "all"),
  simplify = TRUE, limit_flips = 5, limit_combinations = choose(25,
  4))

Arguments

net1

Network 1

net2

Network 2

return

Whether to return only the score or the full output (all)

simplify

Whether or not to simplify the networks

limit_flips

Maximal number of flips to check

limit_combinations

Maximal number of combinations to check

Examples

1
2
3
4
5
6
7
net1 <- dyntoy::generate_milestone_network("linear")
net2 <- dyntoy::generate_milestone_network("bifurcating")
calculate_edge_flip(net1, net2)

net1 <- dyntoy::generate_milestone_network("cyclic")
net2 <- dyntoy::generate_milestone_network("diverging_with_loops")
calculate_edge_flip(net1, net2)

dynverse/dyneval documentation built on May 25, 2019, 4:25 p.m.