miss_hist creates a histogram of the proportion missing data (NA) per locus.

miss_hist()

Value

It will write to jpg file a histogram of NA proportions for the loci.

Details

When run it uses the "loci_NA.csv", an output from running amp_threshold, to produce a histogram to aid in visualising data "missingness".

The plot is printed to screen and also saved as a jpg file to the `results/threshold/` sub-directory. It can be used to determine a "missingness" threshold for further data cleaning.

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) {
miss_hist()
}