dendro_plot creates a dendrogram of samples clustered by genotype similarity.

dendro_plot(dist)

Arguments

dist

A list object created after running dissimilarity.

Value

It will write to jpg file a dendrogram plot.

Details

When run it uses the list object created by running dissimilarity and generates a dendrogram. A dendrogram can aid in visualising a "height" parameter and corresponding group membership of samples. Here the "height" parameter equates to number of mismatches. The plot is written to the `results/cluster/` sub-directory.

Author

Bart Huntley, bart.huntley@dbca.wa.gov.au

For more details see https://dbca-wa.github.io/ScatMatch/index.html the ScatMatch website

Examples

if (FALSE) {
dendro_plot(dist = dissimilarity_list)
}