Wei
unread,Apr 5, 2012, 10:03:48 AM4/5/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SeqBuster
Dear SeqBuster,
I just downloaded the latest SeqBuster (revision 38) and I like this
tool. But I notice there are some bugs in the R code (at line 19 of
the file freqDistribution.R):
The original code:
if (is.null(list$freq1)==F){
temp<-unlist(strsplit(list$freq1," "))
options<-paste(sep=" ","where `freq` >",list$freq1," AND")
}else{
options<-"where `freq` > 0 AND"
}
if (is.null(list$freq2)==F){
temp<-unlist(strsplit(list$freq2," "))
options<-paste(sep=" "," `freq` <",list$freq2," AND")
}
My revision:
if (is.null(list$freq1)==F){
temp<-unlist(strsplit(list$freq1," "))
options<-paste(sep=" ","where `freq` >",list$freq1," AND")
}else{
options<-"where `freq` > 0 AND"
}
if (is.null(list$freq2)==F){
temp<-unlist(strsplit(list$freq2," "))
options<-paste(sep=" "," `freq` <",list$freq2," AND")
}
I also ran into some other problems when playing with the demo data
and I have not figured out the reason. I do notice that there might
be some issue in the translation between your java GUI and the DB
query. It would be wonderful if you could display last SQL statement
when an error occurs rather than direct users to the .Rout files.
Thanks,
Wei Zhu