Re: [R] How to create a chromosome location map by locus ID

2009-01-16 Thread Sake
Neil Shephard wrote: > > > > Whats wrong with things like the HapMap Genome Browser that allows you to > zoom in and out and to produce customised annotations of chromosomal > regions at varying resolutions (see http://www.hapmap.org/)? Of course > I'm assuming that you are looking at human

[R] How to create a chromosome location map by locus ID

2009-01-15 Thread Sake
/file/p21474206/untitled.JPG untitled.JPG The genes and locus are here: http://www.nabble.com/file/p21474206/genlocus.csv genlocus.csv I've tried some things, but nothing worked like I would like it to see. Maybe there is some kind of package that does this for you, but I did not find it yet. T

Re: [R] for loop and if problem

2009-01-13 Thread Sake
Thanks! Why did I not think at that myself. .csv means 'Comma Separated Value' David Winsemius wrote: > > write.csv does exactly what you would expect ... creates a *Comma* > Separated Values file. If you don't want a comma separated value > format then use write.table with sep=";" > > Yo

Re: [R] for loop and if problem

2009-01-12 Thread Sake
I have one final question... How can I save a CSV ifile with ; separation in stead of , separation? I know the write.csv(file="filename.csv") an that you can use sep=";" when you open a .csv file, but that doesn't work with the write.csv command. -- View this message in context: http://www.nabbl

Re: [R] for loop and if problem

2009-01-07 Thread Sake
Sake wrote: > > Hi, > > I'm heaving difficulties with a dataset containing gene names and > positions of those genes. > Not such a big problem, but each gene has multiple exons so it's hard to > say where de gene starts and where it ends. I want the starting and

[R] for loop and if problem

2009-01-06 Thread Sake
Hi, I'm heaving difficulties with a dataset containing gene names and positions of those genes. Not such a big problem, but each gene has multiple exons so it's hard to say where de gene starts and where it ends. I want the starting and ending position of each gene in my dataset. Attached is the