powered by
Function calculate a phylogenetic tree
get.phylogenetic.tree( population, path = NULL, database = NULL, gen = NULL, cohorts = NULL, id = NULL, method = NULL, use.id = TRUE, circular = FALSE )
Dendrogram plot for traits
Population list
provide a path if the dendrogram would be saved as a png-file
Groups of individuals to consider
Quick-insert for database (vector of all generations to consider)
Quick-insert for database (vector of names of cohorts to consider)
Individual IDs to search/collect in the database
Method used to calculate genetic distances (default: "Nei", alt: "Rogers", "Prevosti", "Modified Rogers"
Set to TRUE to use MoBPS ids instead of Sex_Nr_Gen based names (default: TRUE)
Set to TRUE to generate a fan/circular layout tree
data(ex_pop) get.phylogenetic.tree(ex_pop, gen=1, circular=TRUE)
Run the code above in your browser using DataLab