Hi Hari,
You have not given examples of 'list1.bp.files.names' or
'list2.bp.files.names' and hence it is difficult to determine what the code
is trying to achieve. I will assume you want to create all pairwise merges
of the attached files. If this is indeed what you are doing, the problem is
not a
Hi Jim,
I am want to merge two files into one file :
Here is my code . But the problem with this is that I am getting the 2nd
file appended to the first when i write temp3 in my code to the text file. I
am not sure what mistake I am doing .
also find the test files to run the code .
Please help
In your function, you have
temp <- read.table(fnames,header=T,sep="\t",stringsAsFactors=F,quote="\"")
I think you mean:
temp <- read.table(i,header=T,sep="\t",stringsAsFactors=F,quote="\"")
Also 'files' is a parameter, but you are using 'fnames' in the 'for' loop;
shouldn't that be 'files'?
Dear all,
Here is my code which am using to combine 5th column from different data
sets.
Here is the function to do my job
genesymbol.append.file <-NULL
gene.column <- NULL
readGeneSymbol <- function(files,genesymbol.column=5){
for(i in fnames){
temp <- read.table(fnames,header=T,sep="\t",str
4 matches
Mail list logo