Skip to content

Converting Clustering Partitions from "Tab-Separated Labels per Line" Format to .mci Format for RCL #21

Answered by micans
mbertagna asked this question in Q&A
Discussion options

You must be logged in to vote

For the mcxload step make sure to have a tab file ready (that maps labels to consecutive indexes), make sure that each input files uses only those labels and all those labels and use that tab file as follows with mcxload. My tab file mydata.tab looks like this:

0  nul
1  een
2  twee
3  drie
4  vier
5  vijf
6  zes
7  zeven
8  acht
9  negen
10 tien
11 elf

My mycls1.label clustering file:

nul   een   vier  vijf  zes   negen
twee  drie  zeven acht  tien  elf

Then

mcxload -etc-ai mycls1.label -strict-tabr mydata.tab -o mycls1.mci
mcxload -etc-ai mycls2.label -strict-tabr mydata.tab -o mycls2.mci
...

You also need the network in mci format; do you already have that? For now I assume you do. …

Replies: 5 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by micans
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mbertagna
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@micans
Comment options

@micans
Comment options

@mbertagna
Comment options

@micans
Comment options

@mbertagna
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
RCL Restricted contingency linkage (consensus clustering)
2 participants