dorbarker / nAWC

Neighbour Adjusted Wallace Coefficient for identifying cluster stability

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Neighbour Adjusted Wallace Coefficient (nAWC)

Using the Adjusted Wallace Coefficient to identify regions of population (in)stability.

Prerequisites

install.packages(c("ggplot2", "magrittr", "reshape2", "optparse"),
                   repos="https://cloud.r-project.org/")

Usage

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

example plot

About

Neighbour Adjusted Wallace Coefficient for identifying cluster stability


Languages

Language:R 100.0%