in reply to Statistics Data Structure Hash of Arrays, Arrays of Array

I have a table with 40+ columns and 10000+ rows (bioinformaticians lol) and I have started programming in Perl few months ago. I want to write a program for performing some calculation on tables (which are in the 99% of the cases the output from various softwares). I need to able to : select the replicates per group, keep the replicates separated (es. cond A1/2/3 needs to be tested against Ctrl1/2/3 not against B1/2/3) and to perform the calculation element-wise (i.e t-test needs to be performed using the first element in the three replicate in A vs 3 replicate of ctrl so I thought the best convenient data structure would be AoA or HoA. the column names are like "somethingcostant_A1" so the first part of the string is common to every bunch of column. ... {blah blah} ...

Please, don't describe your data; show your data! Ie. Post a small sample of the raw input; and the expected output from that sample input.

Anything else leaves us trying to reverse engineer your words -- which are always ambiguous -- and/or your code -- which is wrong, else you wouldn't be posting.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". The enemy of (IT) success is complexity.
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re: Statistics Data Structure Hash of Arrays, Arrays of Array

Replies are listed 'Best First'.
Re^2: Statistics Data Structure Hash of Arrays, Arrays of Array
by Serial_ (Novice) on Nov 10, 2016 at 12:32 UTC

    sorry, first question, I am editing my question

        quick question: what does

        @t{@h} = @d;

        do and what do you think it should do?