CM++ Usage

Basic Usage

python -m hm01.cm
  -i {input network}
  -e {existing clustering (optional)}
  -c {clustering algorithm}
  -t {connectivity threshold}
  -n {number of processors (optional)}
  -o {output file}

For example, you can run:

python -m hm01.cm -i network.tsv -e clustering.tsv -c leiden -g 0.01 -t 1log10 -n 32 -o output.tsv

External Clusterers

If you want to use an external clustering algorithm, use the following command format:

python -m hm01.cm
  -i     {input network}
  -e     {existing clustering (optional)}
  -c     external
  -cargs {clustering arguments json}
  -cfile {clustering algorithm code}
  -t     {connectivity threshold}
  -n     {number of processors (optional)}
  -o     {output file}