Using the Adjusted Wallace Coefficient to identify regions of population (in)stability.
install.packages(c("ggplot2", "magrittr", "reshape2", "optparse"),
repos="https://cloud.r-project.org/")
Clusters can be generated from GrapeTree via this clustering script
Rscript nawc.R -i clusters.csv -o results/ -d ,
$ Rscript nawc.R --help
Usage: nawc.R [options]
Options:
-i FILE, --input=FILE
Input table of clusters over thresholds
-o DIR, --outdir=DIR
Output directory - will be created if it doesn't already exist
-d CHAR, --delimiter=CHAR
Delimiter character for input [TAB]
-h, --help
Show this help message and exit