Displaying 1 result from an estimated 1 matches for "folder_of_download".
2013 Jan 11
2
weird merge()
Hi,
I have some protein array data, each array in a separate text file. So I read them in and try to combine them into a single data frame by using merge(). see code below (If you download the attached data files into a specific folder, the code below should work):
fls<-list.files("C:\\folder_of_download",full.names=T) ## get file names
prot<-list() ## a list to contain individual files
ind<-1
for (i in fls[c(1:11)]) {
??? cat(ind, " ")
???
??? tmp<-read.delim(i,header=T,row.names=NULL,na.string='null')
??? colnames(tmp)[4]<-as.character(tmp$barcode[1])
??? prot[...