Dear Dave,
Thanks for your response. I had read the master list into an array and then was reading each of the smaller lists into a separate array iteratively and was doing the comparison between the two arrays(master array and the smaller array). But I got stuck while creating/printing the matrix.
A question about your code: Do I have to read all my files into a single array called @raw_files ? These 7 files have a single column of gene ids(~5000 in number). How do I read all these files into a single array ? Though I could create one single file by "pasting" the individual files as separate columns. Thanks in advance for any help.
Regards,
Anupam
In reply to Re^2: Creating a binary matrix
by perl_user123
in thread Creating a binary matrix
by perl_user123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |