Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Statistics via hash- NCBI BLAST Tab Delimited file

by bv (Friar)
on Dec 14, 2009 at 23:20 UTC ( [id://812783]=note: print w/replies, xml ) Need Help??


in reply to Statistics via hash- NCBI BLAST Tab Delimited file

Your code prints out <c>$organisms{$organism}

- Where does that get set? The only other reference is on line 19, where you autovivify it as an array ref, which is why it gets stringified like that. You probably meant to push some value onto an array within your loop, and then do the median on the array outside the loop. Try to clean up your code so that the headings make sense for the data you are printing. Your headings are for an organism, a frequency, and 3 medians, but you output the organism, frequency, and two unclear fields. What is %organisms supposed to contain, anyway?


@_=qw; Just another Perl hacker,; ;$_=q=print "@_"= and eval;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://812783]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-26 01:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found