Question: Question about MM > PM
0
16.0 years ago by
s0uchi0230
s0uchi0230 wrote:
Hello. I have a question about MM > PM. In the "Textual descrtion of affy," it is stated that if the following command is used: > mean(mm(Dilution) > pm(Dilution)) [1] 0.2746048 Is this 0.2746048 % or 27.46048% of the MM are larger than PM? Thank you a lot in advance, best Shizuka
affy • 266 views
modified 16.0 years ago by Wolfgang Huber13k • written 16.0 years ago by s0uchi0230
0
16.0 years ago by
Laurent Gautier2.2k
Laurent Gautier2.2k wrote:
On Sun, Oct 12, 2003 at 03:06:45PM -0400, s0uchi02 wrote: > Hello. I have a question about MM > PM. > In the "Textual descrtion of affy," it is stated that if the following command > is used: > > > mean(mm(Dilution) > pm(Dilution)) > > [1] 0.2746048 > > Is this 0.2746048 % or 27.46048% of the MM are larger than PM? 'mm(Dilution) > pm(Dilution)' returns a vector of booleans ('logical' in R terminology). Calling 'mean()' on the results implies a cast to integers (TRUEs become 1 and FALSEs become 0) then the mean is computed. In other words, each time MM>PM you have 1, and zero when MM<pm. you="" sum="" all="" the="" ones="" and="" zeros="" and="" divide="" by="" length="" of="" the="" vector...="" which="" should="" bring="" you="" to="" the="" conclusion="" that="" roughly="" 30%="" of="" the="" mm="" are="" larger="" the="" pm.="" hopin'="" it="" helps,="" l.<="" div="">
0
16.0 years ago by
EMBL European Molecular Biology Laboratory
Wolfgang Huber13k wrote:
On Sun, 12 Oct 2003, s0uchi02 wrote: > > mean(mm(Dilution) > pm(Dilution)) > [1] 0.2746048 > Is this 0.2746048 % or 27.46048% of the MM are larger than PM? It is 27.46%. Best regards Wolfgang