[R] How to take ID of number > 7.

Yellow s1010265 at student.hsleiden.nl
Sun Apr 22 19:33:09 CEST 2012


O_o This is kinda interesting.... 
I have 267 log2 values >= 7. 
And 295 ID numbers..... 

I don't see any problems in my code also: 

ID_Log2_Above_7 = DataFile[DataFile$log2 >= 7, c("ID", "Log2"] 

# Take ID out. 

ID_Above_7 = ID_Log2_Above_7$ID 

# Only numbers, no na or inf. 

ID_Above_7_NO_NA = ID_Above_7[is.na(ID_Above_7)]
ID_Above_7_FINAL = ID_Above_7_NO_NA[is.finite(ID_Above_7_NO_NA)] 

############ 

I also did the same thing for these log2, and those are 267, as it should
be. 
But why do I have 295 ID numbers? 

I seriously don't get it? 





--
View this message in context: http://r.789695.n4.nabble.com/How-to-take-ID-of-number-7-tp4577998p4578532.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list