updated to sort the statistical output
added ability to run analyses on a subset of the samples
updated example output