This is really 2 separate questions. I'm trying to write a PERL script that can do this:
1) take the following spreadsheet
ID 3423_3499 2324-5839
1 A_A B_B
2 A_B A_A
3 A_B A_B
and convert it to this:
ID 3423 3499 2324 5839
1 A A B B
2 A B A A
3 A B A B
(basically it would split all the columns except the first ID column, based on a delimiter such as _ or even a space)
2) transpose the data set to flip the axes
Thanks!
1) take the following spreadsheet
ID 3423_3499 2324-5839
1 A_A B_B
2 A_B A_A
3 A_B A_B
and convert it to this:
ID 3423 3499 2324 5839
1 A A B B
2 A B A A
3 A B A B
(basically it would split all the columns except the first ID column, based on a delimiter such as _ or even a space)
2) transpose the data set to flip the axes
Thanks!