powered by
Function calculate a dendrogram
get.dendrogram( population, path = NULL, database = NULL, gen = NULL, cohorts = NULL, id = NULL, method = NULL, individual.names = NULL )
Dendrogram plot for genotypes
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"
Names of the individuals in the database ((default are MoBPS internal names based on position))
data(ex_pop) get.dendrogram(ex_pop, gen=2)
Run the code above in your browser using DataLab