search for: ptseq

Displaying 2 results from an estimated 2 matches for "ptseq".

Did you mean: pseq
2013 Mar 12
2
Troubleshooting code
...-1; while(k<=(n-1)) *#inner loop to go through a value of 'k' variable* { ... *#working with the code to generate a value* opdf[c][b,]<-sum; *#[1]* k<-k+1; } c<-c+1; } b<-b+1; } fname<-strsplit(files[a],".seq.ptseq.rescount.txt"); *#generating uniqe file names based on the input file names* ext<-".zsc.txt"; filename<-paste0(fname,ext); write.table(opdf,file=filename,row.names=FALSE,col.names=FALSE,quote=FALSE,sep="\t"); a<-a+1; } If the input data frame is supposed t...
2013 Mar 19
4
Copying rows in data frames
Hi, I'm trying to copy the first row of one data frame to another. This is the statement I am using : df2[1,]<-df1[1,]; I have printed them out separately: df1[1,] = A C D E F But after copying: df2[1,] = 96 29 88 122 68 Why isn't it copying? They are both data frames, and "as.character" isn't working either. Thanks for your input :) [[alternative HTML version