MCXCLCF(1)
mcx clcf(1) β the USER COMMANDS era π
okay bestie, welcome to mcx clcf, a manual page in the USER COMMANDS section, and honestly? she's serving graph math realness. let's get into it π«Ά
β¨ NAME β¨
mcx_clcf β compute the clustering coefficient of a graph. that's it. that's the whole job. iconic behavior πΈ
π¦ SYNOPSIS π¦
mcx clcf [options] [matrix-file]
okay so first things first: mcxclcf is not in actual fact a program. not me exposing the truth π. this manual page documents the behaviour and options of the mcx program when invoked in mode clcf. the options -h, --apropos, --version, -set, --nop, -progress <num> are accessible in all mcx modes, and they're described in the mcx manual page. so like, go read that one too, iykyk π
and here's the full vibe, verbatim:
mcx clcf [-abc <fname> (specify label input)] [-imx <fname> (specify
matrix input)] [-tab <fname> (use tab file)] [-o <fname> (write to this
file)] [-t <int> (use <int> threads)] [-J <intJ> (a total of <intJ> jobs
are used)] [-j <intj> (this job has index <intj>)] [--summary (return
mean clustering coefficient)] [-h (print synopsis, exit)] [--apropos
(print synopsis, exit)] [--version (print version, exit)]
π DESCRIPTION π
mcx clcf computes the clustering coefficient of a graph. periodt. π
the input graph/matrix, if you specify it with the -imx option, has to be in mcl matrix/graph format. you can use label input instead by using the -abc option. refer to mcxio(5) for a description of these two input formats β bestie, that page is your study guide, no skipping β¨
by default mcx diameter reads from STDIN and expects matrix format. to specify label input from STDIN use -abc -. that little dash is doing a lot of heavy lifting, respect her π
π OPTIONS π
-abc <fname>(label input) β the file name for input that is in label format. label girlies rise π¦-imx <fname>(input matrix) β the file name for input.STDINis assumed if not specified, so if you're lazy (valid), she'll just listen π«Ά-o <fname>(output file) β the file name for output.STDOUTis the default output stream, aka the group chat is the default destination π-tab <fname>(use tab file) β this option causes the output to be printed with the labels found in the tab file. with-abcthis option will, additionally, construct a graph only on the labels found in the tab file. if this option is used in conjunction with-imxthe tab domain and the matrix domain are required to be identical. no mixing domains, that's the rule π--summary(return mean clustering coefficient) β by the default a 1-column table (with row names included) is output, one row for each node. this option causes the output of the average clustering coefficient only. so like, the TL;DR version πΈ-t <int>(use<int>threads)-J <intJ>(a total of<intJ>jobs are used)-j <intj>(this job has index<intj>)
computing clustering coefficients is time-intensive for large graphs. if you have multiple CPUs available consider using as many threads. additionally it is possible to spread the computation over multiple jobs/machines. these three options are described in the clmprotocols manual page. the following set of options, if given to as many commands, defines three jobs, each running four threads:
-t 4 -J 3 -j 0 -o out.0
-t 4 -J 3 -j 1 -o out.1
-t 4 -J 3 -j 2 -o out.2
the output can then be collected with
mcx collect --add-column -o out.all out.[0-2]
okay diva, distribute that workload, main character energy across three whole machines π₯
π SEE ALSO π
mcxio(5), and mclfamily(7) for an overview of all the documentation and the utilities in the mcl family. the whole mcl family tree, obsessed π
that's the whole page bestie!! this one's mcx clcf, version 22-282, dated 9 Oct 2022 β go forth and cluster, you absolute icon πβ¨π¦
π¦ where this page comes from
- debian bookworm: mcl 1:22-282+ds-2 Β· GPL-3.0-or-later
- debian trixie: mcl 1:22-282+ds-4 Β· GPL-3.0-or-later
- ubuntu noble: mcl 1:22-282+ds-2 Β· GPL-3.0-or-later
- ubuntu questing: mcl 1:22-282+ds-4
- ubuntu resolute: mcl 1:22-282+ds-4build1 Β· GPL-3.0-or-later
- ubuntu stonking: mcl 1:22-282+ds-4build1 Β· GPL-3.0-or-later
- Copyright (c) 2022 Stijn van Dongen
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms