powered by
This function is a wrapper for the nj{ape} function applied to Euclidian distances calculated from the genlight object.
gl.tree.nj(gl, type = "phylogram", outgroup = NULL, labelsize = 0.7)
-- Name of the genlight object containing the SNP data or a genind object containing presence absence data [required]
-- Type of dendrogram phylogram|cladogram|fan|unrooted [Default Phylogram]
-- Vector containing the population names that are the outgroups [Default NULL]
-- Size of the labels as a proportion of the graphics default [Default 0.7]
A tree file of type phylo
# NOT RUN { gl.tree.nj(testset.gl,type="fan") # }
Run the code above in your browser using DataLab