Bioconductor, naming of functions
1
0
Entering edit mode
@markus-schmidberger-2240
Last seen 9.6 years ago
Hello I was reading the guidelines at the bioconductor developer page. But how about naming functions? There is a part for "variable names" and the hint for using namespaces. In several packages I found functions of the kind: "just.rma" Is using the "dot" in a function name permitted and has the "dot" any meaning? Thanks Markus -- Dipl.-Tech. Math. Markus Schmidberger Ludwig-Maximilians-Universit?t M?nchen IBE - Institut f?r medizinische Informationsverarbeitung, Biometrie und Epidemiologie Marchioninistr. 15, D-81377 Muenchen URL: http://ibe.web.med.uni-muenchen.de Mail: Markus.Schmidberger [at] ibe.med.uni-muenchen.de
• 663 views
ADD COMMENT
0
Entering edit mode
@martin-morgan-1513
Last seen 3 days ago
United States
Hi Markus -- Sometimes we're stuck with what went before, for better or worse. A '.' in a function name _does_ have a special meaning (in the 'S3' object system, section 10.9 of 'An Introduction To R', for detail). Unfortunately, the dot in just.rma is not being used in that way, and the Bioconductor project emphasizes the S4 rather than S3 object system. With hindsight a better name would have been along the lines of justRma. A dot in the function name only causes confusion, and should be avoided. Questions like this might be better on the Bioc-devel list, though they're welcome anywhere! Martin Markus Schmidberger <schmidb at="" ibe.med.uni-muenchen.de=""> writes: > Hello > > I was reading the guidelines at the bioconductor developer page. But how > about naming functions? > There is a part for "variable names" and the hint for using namespaces. > In several packages I found functions of the kind: "just.rma" > Is using the "dot" in a function name permitted and has the "dot" any > meaning? > > Thanks > Markus > > -- > Dipl.-Tech. Math. Markus Schmidberger > > Ludwig-Maximilians-Universit?t M?nchen > IBE - Institut f?r medizinische Informationsverarbeitung, > Biometrie und Epidemiologie > Marchioninistr. 15, D-81377 Muenchen > URL: http://ibe.web.med.uni-muenchen.de > Mail: Markus.Schmidberger [at] ibe.med.uni-muenchen.de > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor -- Martin Morgan Bioconductor / Computational Biology http://bioconductor.org
ADD COMMENT

Login before adding your answer.

Traffic: 684 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6