Multiple iteration EDGE2 calculating function.
Usage
calculate_EDGE2_multiple(
tree,
table,
verbose = T,
sort.list = FALSE,
return.all = FALSE,
n.iter = 10,
parallelize = FALSE,
n.cores = NULL,
seed = NULL
)Arguments
- tree
a phylo object.
- table
a tibble or data frame with two columns, named "species" and "RL.cat"
- verbose
Logical. Should progress be printed or not.
- sort.list
Logical. If TRUE, the EDGE list will be sorted from higher to lower values.
- return.all
Logical. If TRUE, an EDGE list, tree and ePDloss list is returned. If FALSE (default), only the list is returned.
- n.iter
Integer. Number of times the function will be run.
- parallelize
Logical. If TRUE, several CPU cores will be used to compute EDGE scores.
- n.cores
Integer. Number of cores to use simultaneoulsly. Default is the number of available ones minus one.
- seed
Integer. seed number used to randomize iterations. if NULL, a random number will be enerated and printed