DanBCastro
Programmer
Hi,
I'm learning Perl and I have a challenge to do in Bioinformatics.
I have a CSV file with a lot of columns and rows... but I need to sum cells of certain column:
Samples Name Value1 Value2 Value3.....
A Name 1 32 27 21
B Name 2 23 12 13
C Name 3 10 98 59
D Name 4 21 78 72
E Name 5 32 72 27
... ... ... ... ...
So I need Sum of cells in column Value 1, Sum of cells in column Value2 and so on.
I know this is basic and I'm studying as hard as I can.
Could anyone help me?
Thanks
I'm learning Perl and I have a challenge to do in Bioinformatics.
I have a CSV file with a lot of columns and rows... but I need to sum cells of certain column:
Samples Name Value1 Value2 Value3.....
A Name 1 32 27 21
B Name 2 23 12 13
C Name 3 10 98 59
D Name 4 21 78 72
E Name 5 32 72 27
... ... ... ... ...
So I need Sum of cells in column Value 1, Sum of cells in column Value2 and so on.
I know this is basic and I'm studying as hard as I can.
Could anyone help me?
Thanks