Iam rather new to R and have problem with indexing though I went through a number of tutorials.For instance in the following case I have a list of probenames with the corresponding significant p-values as follows
unique.et. pBH
1 AFFX-r2-P1-cre-5_at 1.646105e-14
2 AFFX-r2-P1-cre-3_at 1.752547e-14
3 AFFX-r2-Ec-bioD-5_at 2.426254e-14
127 267584_at 1.820809e-14
149 267562_at 1.646105e-14
200 267511_at 1.880226e-14
and the below is the original matrix from which I have to extract only the probes with significant p-Values so that I will get to have the signal intensity values.
AFFX-r2-P1-cre-2_at 12.16271 12.70304 12.16271 12.70304 12.16271
AFFX-r2-P1-cre-3_at 12.70304 12.28280 12.35039 12.38397 12.36304
AFFX-r2-P1-cre-5_at 12.28280 12.35039 12.38397 12.36304 12.16271
So if i consider the probe named AFFX-r2-P1-cre-5_at with p value 1.646105e-14 Iwould need to extract the same probe from a list of other probes along with the intensity values. I tried out but could not do it.
I would also like to ask you all if there are tutorials with clear examples so that i can understand the concept.