News and Announcements » |
Description:
This script reads in all (dis)similarity matrices from an input directory (input_dir), then calculates and writes the mean, median, standdard deviation (stdev) to an output folder.
The input_dir must contain only (dis)similarity matrices, and only those you wish to perform statistical analyses on.
Usage: dissimilarity_mtx_stats.py [options]
Input Arguments:
Note
[REQUIRED]
Output:
The outputs are in distance matrix format, where each value is the mean, median, or stdev of that element in all the input distance matrices.
Example:
This examples takes the “dists/” directory as input and returns the results in the “dist_stats/” directory.
dissimilarity_mtx_stats.py -i dists/ -o dist_stats/