View source: R/get.dendrogram.R
| get.dendrogram | R Documentation |
Function calculate a dendrogram
get.dendrogram(
population,
path = NULL,
database = NULL,
gen = NULL,
cohorts = NULL,
id = NULL,
method = NULL,
individual.names = NULL
)
population |
Population list |
path |
provide a path if the dendrogram would be saved as a png-file |
database |
Groups of individuals to consider |
gen |
Quick-insert for database (vector of all generations to consider) |
cohorts |
Quick-insert for database (vector of names of cohorts to consider) |
id |
Individual IDs to search/collect in the database |
method |
Method used to calculate genetic distances (default: "Nei", alt: "Rogers", "Prevosti", "Modified Rogers" |
individual.names |
Names of the individuals in the database ((default are MoBPS internal names based on position)) |
Dendrogram plot for genotypes
data(ex_pop)
get.dendrogram(ex_pop, gen=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.