• Safety projects

    If you’ve been in science long enough, eventually you’ll have reached a point where you needed a safety project, either for yourself or for a student. A safety project is a project whose success is all but guaranteed, that doesn’t require much in terms of critical thinking or properly aligned stars. All that is required to complete a safety project is proper execution of the work.

    Read More
  • cowplot R package now available on CRAN

    This week, I finally took the time to clean up the code for my cowplot R package and submit it to CRAN. While the code had been up on github for a while, and I had blogged about it previously, nobody had really taken notice as far as I can tell. However, this time, with an official release and better documentation, people seem to like it a lot. The response on Twitter was overwhelming.

    Read More
  • Beyond bar and line graphs

    PLOS Biology recently published a nice article on data visualization:

    Weissgerber TL, Milic NM, Winham SJ, Garovic VD (2015) Beyond Bar and Line Graphs: Time for a New Data Presentation Paradigm. PLOS Biol 13(4): e1002128. doi:10.1371/journal.pbio.1002128

    Read More
  • PLOS ONE publishes analysis of grant writing costs and benefits

    PLOS ONE just published an article providing a cost-benefit analysis of grant writing:

    von Hippel T, von Hippel C (2015) To Apply or Not to Apply: A Survey Analysis of Grant Writing Costs and Benefits. PLoS ONE 10(3): e0118494.

    Read More
  • Teaching a new introductory class in computational biology and bioinformatics

    This semester, I’m teaching a new introductory class in computational biology and bioinformatics. The class is primarily targeted at undergraduates, and it is split approximately 50:50 between R and python. The R component emphasizes effective data analysis and visualization, using packages such as ggplot2 and dplyr. The python component will introduce students to basic programming concepts, and it will also cover some typical bioinformatics applications.

    Read More
  • What constitutes a citable scientific work?

    There was a lively discussion on Twitter the other day regarding what constitutes a citable piece of scientific work. In particular, Matthew Hahn was concerned about where to draw the line, and he felt that unless something is traditionally published there’s no need to cite it. When reading this dicussion, I felt it was muddled by the lack of clear criteria separating citable works from other forms of scientific communication. In my mind, there is a clear distinction between preprints, which I consider to be citable works, and presentation slides or tweets, which are not. To formalize this distinction, I would like to propose four conditions that need to be satisfied for a document to be considered a citable piece of scientific work. The document needs to be: (i) uniquely and unambiguously citable; (ii) available in perpetuity, in unchanged form; (iii) accessible to the public; (iv) self-contained and complete.

    Read More
  • Post-publication review of the PLOS ONE paper comparing MS Word and LaTeX: How not to compare document preparation

    PLOS ONE just published a paper comparing MS Word with LaTeX, which argues that LaTeX has little benefits over MS Word and should not be allowed by scientific journals:

    Knauff M, Nejasmic J (2014) An Efficiency Comparison of Document Preparation Systems Used in Academic Research and Development. PLoS ONE 9(12): e115069.

    In my mind, this paper makes extremely strong claims based on a rather flawed and thin analysis. I am sure there are useful things to be said about MS Word vs. LaTeX. However, this paper does not make much of a contribution to this question.

    Read More
  • Perfectly smooth transition between fixed and variable positioning of HTML elements using CSS and Javascript

    The last couple of days I have been working on a new webpage. In doing so, I wanted to create a design where the menu bar initially resides at the bottom of the page and moves upwards as the user scrolls down. However, once the menu bar hits the top edge of the viewport, it should remain fixed there. A bit of googling quickly revealed a solution for this problem, using a combination of CSS and Javascript. However, I wasn’t happy with the solution, because it created a visible jump in the layout every time the menu bar hit the top edge of the screen. In fact, this jump is quite common among most web pages that use this design trick. For example, check out a profile page on Google Scholar: As you scroll down, the heading above the publication list stays fixed as soon as it hits the top edge of the screen. And if you scroll slowly, you’ll see that the layout jumps the moment the element hits the top edge. I didn’t like this effect at all, so I devised a way to work around it.

    Read More
  • How to prepare an article for resubmission, Part II

    In my previous post on how to prepare an article for resubmission, I failed to mention one important point: In your response to the reviewers, quote the entire referee report, even the introductory sentences. Don’t just quote the specific comments to which you are replying. This may seem unnecessary but it is in fact crucial, in particular if the introductory sentences were largely positive. (If they were highly critical, you may want to omit them, even though in this case you probably should provide a response.)

    Read More
  • Relationship between h index and total citations count

    I came across an interesting paper [1] that derives a mathematical relationship between the total number of citations a scientist has received, , and the scientist’s index [2]. The paper, written by Alexander Yong, argues that for typical scientists, is given simply as 0.54 times the square-root of . The paper also derives confidence bounds on this estimate, and it shows that scientists who have written only a few highly-cited works will generally fall below this estimate. While the paper is set up as a critique of the index, I think it shows that the index works largely as intended. It measures the total amount of citations a researcher has received, but it adequately down-weighs the effect of a few extremely highly cited works in a researcher’s publication list.

    Read More
  • How Google Scholar discourages young scientists from posting preprints

    I have previously blogged about the issues that preprints can cause on Google Scholar. Today I was reminded that these issues have real-world implication for junior scientists, and that they may discourage junior scientists from posting preprints.

    Read More
  • How to prepare an article for resubmission

    So your latest scientific masterpiece has come back from review with the most likely outcome other than rejection: major revision. The reviewers and the editor think that your work has merit, but they also have a long list of comments and criticism that they expect you to address before the article is acceptable for publication. You read the reviews and you feel like they lay out two years worth of work. How do you best deal with this situation?

    Read More