Skip to contents

clustree_viz() builds a clustering tree displaying changes in haplotype assignment between individuals or changes in Marker Group assignment for SNPs, across different epsilon values. This function is a `clustree` wrapper.

Usage

clustree_viz(HapObject, type = "MG")

Arguments

HapObject

A haplotyping object with a range of results from different epsilons created by run_haplotyping()

type

When type = "hap", nodes represent haplotype populations, when type = "MG", nodes represent marker groups.

Value

A ggplot2 object.