[Boston.pm] empty versus zero

2003-08-14 Thread David Byrne
Dear experts, I think this is a fairly simple question... How can I count empty values in an array? This count should not include zeros or non-empty values. Below is my current script, but it isn't working properly. I appreciate any assistance that you may provide. Thank you, David #!perl -w

[Boston.pm] combinations

2003-08-04 Thread David Byrne
I am fairly new to Perl and haven't approached a scipt this complex or computation this intensive. So I would certainly appreciate any advice. I have successfully created a hash of arrays equivalent to a 122 x 6152 matrix that I want to run in 'pairwise combinations' and execute the 'sum of the

[Boston.pm] Basic matrix analysis

2003-05-27 Thread David Byrne
Hello, I'm new to Perl and am trying to write a script that I think should be fairly basic... The batch of input files (sample attached; real file contains 100s of columns, 1000s of rows) will be in the same format (tab delimited, matrix layout) and the first row & column of the file are labels (