search for: testseq

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

Did you mean: testset
2009 Dec 25
2
Help with SVM package Kernlab
...my last post and I am new to the list so pardon me if I am violating the protocol. I am trying to use the "Kernlab" package for training and prediction using SVM's. I am getting the following error when I am trying to use the predict function: > predictSvm = predict(modelforSVM, testSeq); Error in `contrasts<-`(`*tmp*`, value = "contr.treatment") : contrasts can be applied only to factors with 2 or more levels The training file is a data frame with 501 columns: Col 1 is "Class" which is "+" or "-" and Cols V1 to V500 are "A/C/G/T&...
2009 Dec 24
0
Error with Package "Kernlab" for SVM prediction
Hi All, I am trying to use the "Kernlab" package for training and prediction using SVM's. I am getting the following error when I am trying to use the predict function: > predictSvm = predict(modelforSVM, testSeq); Error in `contrasts<-`(`*tmp*`, value = "contr.treatment") : contrasts can be applied only to factors with 2 or more levels The training file is a data frame with 501 columns: Col 1 is "Class" which is "+" or "-" and Cols V1 to V500 are "A/C/G/T&...
2012 Feb 29
1
codon usage bias
Hey guys, I have what i think is a really simple problem :( I installed the seqinr library. I want to do an RSCU analysis. But i can't get it to work in even the simplest case. for example, if i have a string read in: > newdata5 $testseq [1] "agtgagatgatagatagatagatagatagatagatagaccccccagata" and then i perform an RSCU analysis on it... > uco(newdata5,index="rscu") aaa aac aag aat aca acc acg act aga agc agg agt ata atc atg att caa cac cag cat NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA...