[R] R help
John Kane
jrkrideau at yahoo.ca
Tue Jun 24 19:54:40 CEST 2008
?subset may help.
--- On Tue, 6/24/08, Rajasekaramya <ramya.victory at gmail.com> wrote:
> From: Rajasekaramya <ramya.victory at gmail.com>
> Subject: [R] R help
> To: r-help at r-project.org
> Received: Tuesday, June 24, 2008, 12:27 AM
> Hi there,
>
> I am very new to R.I have to write the code for the
> following scenario
>
> Snp_Id Gene name score
> 1 a
> 2 b
> 3 a
> 4 b
> are the three columns in my table.There are many snp,s for
> a particular
> gene.I have to group all the snp to its corresponding
> genname.
>
> my output should be
>
> genename a should have both the gene id 1 and 3.
> genename b should have gene id 2 and 4
>
> Kindly help me.
> Ramya Thulasingam
>
>
>
>
> --
> View this message in context:
> http://www.nabble.com/R-help-tp18083552p18083552.html
> Sent from the R help mailing list archive at Nabble.com.
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained,
> reproducible code.
__________________________________________________________________
[[elided Yahoo spam]]
More information about the R-help
mailing list