Takes a graph and modifies edge weights.
resample_edge_weights(g, tp = 0.5, mineff = 1, maxeff = 2, method = "unif")
original graph
fraction of edge weights which will be modified
minimal differential effect size
maximum effect effect size or standard deviation, if method is "gauss"
method for drawing the differential for the causal effects. Can be "unif", "exp" or "gauss".
graph with new edge weights