>>
>> Christian T. Stackhouse | Graduate Student
>> GBS Neuroscience Theme
>> Department of Neurosurgery
>> Department of Radiation Oncology
>> UAB | The University of Alabama at Birmingham
>> Hazelrig-Salter Radiation Oncology Center | 1700 6th Ave S | Birmingham, AL
>> 3
nowledge that will change your world
From: Jim Lemon
Sent: Tuesday, March 22, 2016 6:02 PM
To: Christian T Stackhouse (Campus)
Cc: r-help@r-project.org
Subject: Re: [R] Help batch saving elements of a list into unique files
I think it's the "unlis
, AL
35233
M: 919.724.6890 | ctsta...@uab.edu | cstackho...@uabmc.edu | ctsta...@gmail.com
uab.edu
Knowledge that will change your world
From: Jim Lemon
Sent: Tuesday, March 22, 2016 5:46 PM
To: Christian T Stackhouse (Campus)
Cc: r-help@r-project.org
Subject:
day, March 22, 2016 5:39 PM
To: Christian T Stackhouse (Campus)
Cc: r-help@r-project.org
Subject: Re: [R] Help batch saving elements of a list into unique files
Okay, I just snipped off the first token in the header labels assuming
that there would be no more periods. Try this:
drop_token1&l
edu | ctsta...@gmail.com
uab.edu
Knowledge that will change your world
From: Jim Lemon
Sent: Tuesday, March 22, 2016 8:46 PM
To: Christian T Stackhouse (Campus)
Cc: r-help@r-project.org
Subject: Re: [R] Help batch saving elements of a list into unique files
Okay. Got some lu
sta...@gmail.com
uab.edu
Knowledge that will change your world
From: Jim Lemon
Sent: Tuesday, March 22, 2016 4:48 PM
To: Christian T Stackhouse (Campus)
Cc: r-help@r-project.org
Subject: Re: [R] Help batch saving elements of a list into unique files
Hi Ch
Stackhouse (Campus)
Cc: r-help@r-project.org
Subject: Re: [R] Help batch saving elements of a list into unique files
Transcription. I forgot the "collapse" argument when I wrote the email:
drop_token1<-function(x) {
return(paste(x[2:length(x)],sep="",collapse="."
e | Graduate Student
>> GBS Neuroscience Theme
>> Department of Neurosurgery
>> Department of Radiation Oncology
>> UAB | The University of Alabama at Birmingham
>> Hazelrig-Salter Radiation Oncology Center | 1700 6th Ave S | Birmingham, AL
>> 35233
>> M: 919.724.6890 | ctsta...@uab.e
du |
> ctsta...@gmail.com
>
> uab.edu
> Knowledge that will change your world
>
>
> ________________
> From: Jim Lemon
> Sent: Tuesday, March 22, 2016 6:02 PM
> To: Christian T Stackhouse (Campus)
> Cc: r-help@r-project.org
> Subject: Re: [R
Alabama at Birmingham
> Hazelrig-Salter Radiation Oncology Center | 1700 6th Ave S | Birmingham, AL
> 35233
> M: 919.724.6890 | ctsta...@uab.edu | cstackho...@uabmc.edu |
> ctsta...@gmail.com
>
> uab.edu
> Knowledge that will change your world
>
>
> ___________
ent: Tuesday, March 22, 2016 5:39 PM
> To: Christian T Stackhouse (Campus)
> Cc: r-help@r-project.org
> Subject: Re: [R] Help batch saving elements of a list into unique files
>
> Okay, I just snipped off the first token in the header labels assuming
> that there would be no more peri
sta...@gmail.com
>
> uab.edu
> Knowledge that will change your world
>
>
> ____________
> From: Jim Lemon
> Sent: Tuesday, March 22, 2016 4:48 PM
> To: Christian T Stackhouse (Campus)
> Cc: r-help@r-project.org
> Subject: Re:
Hi Christian,
This untested script might get you going (assuming you want a CSV format):
for(affdf in 1:length(out)) {
names(out[[affdf]])<-lapply(strsplit(names(out[[affdf]]),"[.]"),"[",2)
write.csv(out[[affdf]],file=paste("affymetrix",affdf,".txt",sep=""))
}
Jim
On Wed, Mar 23, 2016 at 6:32
Hello!
The overall goal I have is taking a large data frame and splitting it into
several smaller data frames (preserving column headers) which I can save as txt
files to feed into my APACHE ANY23 server for conversion into RDF.
This is what I call to split up the original file:
out <- spli
14 matches
Mail list logo