freq_hist creates a histogram of the frequency of genotype mismatches.

freq_hist(dist, bins = 30)

Arguments

dist

A list object created after running dissimilarity.

bins

numeric. Number of bins to split the data. Defaults to 30.

Value

It will write to png file a histogram of mismatch frequency.

Details

When run it uses the list object created by running dissimilarity and generates a histogram. The histogram can help visualise the frequency of mismatches and can aid in selecting a suitable value for creating groups. 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) {
freq_hist(dist = dissimilarity_list)
}