Re: P/A ratio

2004-11-09 Thread Chris Devers
Perl is case-sensitive, so everywhere that you've capitalized a command, you've got a statement that won't work. So to cite some examples: On Tue, 9 Nov 2004, Li, Aiguo (NIH/NCI) wrote: > Use strict; > Use warning; > > My @split; > My @replicate = ( 4, 3); > My @ratio; > My $p=0, $m=0, $a=0, $r

P/A ratio

2004-11-09 Thread Li, Aiguo (NIH/NCI)
Hi, all. I have the following dataset and need to calculate a P/A ratio for each replicates in the dataset. In this case, treatment 1 has 4 replicats and treatment2 has 3 replicates. The P/A = [((#of P)*2) + (# of M)]/# of replicates. The output should be two columns of P/A ratios for two