powered by
Generate all crosses from given parent set.
allCrosses(n, line_id)
List of crossing procedure. The output value is defined by "multiPhylo" class.
Number of parents
Character vector of parent names
K.P. Schliep (2011) phangorn: phylogenetic analysis in R
n <- 3 line_id <- c("x1", "x2", "x7") rslt <- allCrosses(n, line_id) plot(rslt[[1]]) plot(rslt[[2]]) plot(rslt[[3]])
Run the code above in your browser using DataLab