Re: [R] Choosing subset of data

2016-05-20 Thread David Winsemius
> On May 20, 2016, at 11:46 AM, oslo via R-help wrote: > > Hi all; > I have a big data set (a small part is given below) and V1 column has > repeated info in it. That is rs941873, rs12307687... are repeating many > times. I need choose only one SNP (in first column named rs) which has the > s

[R] Choosing subset of data

2016-05-20 Thread oslo via R-help
Hi all; I have a big data set (a small part is given below) and V1 column has repeated info in it. That is rs941873, rs12307687... are repeating many times. I need choose only one SNP (in first column named rs) which has the smallest  Pvalue withing V1 column. That is I need choose only one SNP