[Bioc-devel] bug in plotMotifLogo [package: motifStack]
Ou, Jianhong
Jianhong.Ou at umassmed.edu
Thu Oct 11 15:15:52 CEST 2012
Dear Diego,
Thanks a lot for reporting and fixing the bug.
Yours sincerely,
Jianhong Ou
jianhong.ou at umassmed.edu
On Oct 11, 2012, at 2:17 AM, Diego Diez wrote:
> Hi all,
>
> there seems to be a small bug in the plotMotifLogo() function that
> plots repeatedly (once per position) the x-axis. Below there is a diff
> with the small change that prevents this from happening:
>
> *** Downloads/motifStack/R/motifStack.R Tue Oct 2 08:40:36 2012
> --- Desktop/motifStack_fixed.R Thu Oct 11 15:08:44 2012
> ***************
> *** 70,77 ****
> y.pos<-y.pos+h
> }
> x.pos<-x.pos+dw
> - if(xaxis) plotXaxis(pfm, p)
> }
> if(yaxis) plotYaxis(pfm)
> if(!is.na(xlab)) mtext(xlab,1,line=2,cex=xlcex)
> if(!is.na(ylab)) mtext(ylab,2,line=2,cex=ylcex)
> --- 70,77 ----
> y.pos<-y.pos+h
> }
> x.pos<-x.pos+dw
> }
> + if(xaxis) plotXaxis(pfm, p)
> if(yaxis) plotYaxis(pfm)
> if(!is.na(xlab)) mtext(xlab,1,line=2,cex=xlcex)
> if(!is.na(ylab)) mtext(ylab,2,line=2,cex=ylcex)
>
> ######################## end of patch ####################
>
> All the best,
>
> --
> Diego Diez, PhD
> Assistant Professor
> Bioinformatics and Genomics Laboratory,
> WPI Immunology Frontier Research Center (IFReC)
> 8F Integrated Life Science Building, Osaka University,
> 3-1 Yamada-oka, Suita, Osaka 565-0871, Japan
> Phone: +81-6-6879-4266
> Fax: +81-6-6879-4272
> diez at ifrec.osaka-u.ac.jp
>
> _______________________________________________
> Bioc-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel
More information about the Bioc-devel
mailing list