search for: rescount

Displaying 3 results from an estimated 3 matches for "rescount".

Did you mean: refcount
2013 Mar 12
2
Troubleshooting code
...e, I am having trouble understanding where I went wrong with my code. It seems to logically be "all there" but the output says otherwise. I know this is a bit long but I can't seem to find the errors so I would appreciate your help :) This is my program : files<-Sys.glob("*.rescount.txt");length<-length(files);* #selecting all files of a particular extension, saving in a list* a<-1; while(a<=length) *#going through every element of the list* { df1<-read.table(files[a]); c.leng<-length(files[,1]); r.leng<-length(files[1,]); *#creating data frame for...
2013 Feb 28
11
new question
...z c1 c3 t2 #1 aAAAAAAAAAAAAAATATAGPR 1-n_acPro/ 2? 0? 0? 1 #2? aAAAAAAAAAAASSPVGVGQR 1-n_acPro/ 2? 0? 0? 1 #3?????? aAAAAAAAAAGAAGGR 1-n_acPro/ 2? 0? 0? 1 #4? aAAAAAAAGAAGGRGSGPGRR 1-n_acPro/ 2? 1? 0? 0 #5??????????? AAAAAAALQAK??????????? 2? 0? 1? 1 #6???????? aAAAAAGAGPEMVR 1-n_acPro/ 2? 0? 0? 2 resCounts<- f(lista,FacGroup) t.test.p.value <- function(...) { ??? obj<-try(t.test(...), silent=TRUE) ??? if (is(obj, "try-error")) return(NA) else return(obj$p.value) ?} #3rd function for p-value fpv<- function(Countdata){ resNew<-do.call(cbind,lapply(split(names(Countdata)[4:...
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