[R] Splitting data into two camps

PIKAL Petr petr.pikal at precheza.cz
Mon Sep 16 09:27:39 CEST 2013


Hi

> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Evan Sticca
> Sent: Friday, September 13, 2013 6:48 PM
> To: r-help at r-project.org
> Subject: [R] Splitting data into two camps
> 
> Hello R-help,
> 
> I have recently generated some meta-data on SNP variation across whole
> exomes and I need to begin sorting it into two camps: one in which the
> alternate allele matches the derived form and one where the alternate
> allele matches the ancestral form. I have the data saved as a .txt file
> from its original VCF format. I am a novice at writing my own functions
> in R, so any help would greatly be appreciated.

See
?read.table
and other read functions.

And if you start to read help pages I strongly recommend to read also
1.	Posting guide
2.	R intro
3.	R data
or at least some parts of it. It prevents you from great frustration if you are used to Excel or other similar pieces of software and consider R as another one.

Regards
Petr



> 
> Thank you,
> Evan Sticca
> 
> 	[[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.



More information about the R-help mailing list