A few tips for beginners on how to engage with the open source community

Engaging the open source community can be challenging at start. The image is CC by Ryan Roberts.

I have been writing code in multiple languages since 1994 and for almost a decade now I have been active within the open source community, primarily in R but I’ve also published some JavaSript/TypeScript packages. Publishing something that other people enjoy is a pure joy and the fact that some of my packages have download counts in the thousands is something that truly warms my heart.

Throughout the years I have though noticed that there is newcomers to the open source community often struggle with how to get help, which is why I decided to write this post. I’ll start out with some basics and then a little more advanced topics such as how to write an issue or a pull request. Continue reading

Easiest flowcharts eveR?

A guide to flowcharts using my Gmisc package. The image is CC by Michael Staats.

A flowchart is a type of diagram that represents a workflow or process. The building blocks are boxes and the arrows that connect them. If you have submitted any research paper the last 10 years you have almost inevitably been asked to produce a flowchart on how you generated your data. While there are excellent click-and-draw tools I have always found it to be much nicer to code my charts. In this post I will go through some of the abilities in my Gmisc package that makes this process smoother. Continue reading

News in htmlTable 2.0

A short intro to the new features in htmlTable 2.0. The image is a blend based on a CC image by Ken Xu.

The htmlTable 2.0 package was just released on CRAN! It is my most downloaded package with 160 000+ downloads/month and this update is something that I have been wanting to do for a long time. For those of you that never encountered htmlTable it is a package that takes a `matrix`/`data.frame` and outputs a nicely formatted HTML table. When I created the package there weren’t that many alternatives and knitr was this new thing that everyone was excited about, magrittr with its ubiquitous `%>%` pipe had not even entered the scene. The current update should make it easier to streamline table look, separate layout from content and use tidyverse functionality. Continue reading

Surgery for sacroiliac joint dysfunction, is this a thing?

A nice surprise article from JBJS on low back pain. The image is CC by Wanderer99.

Low back pain has a history of failed trials supporting surgery (see Brox et al. and Fairbank et al.) and I was therefore thrilled when I encountered Dengler et al.’s randomized controlled trial (RCT) on sacroiliac joint dysfunction. They showed that arthrodesis outperformed conservative management both early and up to two years after surgery. Continue reading

Long-awaited updates to htmlTable

Lets celebrate 2019 with some updates to my most popular package ever, the htmlTable. The image is CC by Thomas Hawk

One of the most pleasant surprises has been the popularity of my htmlTable-package with more than 100k downloads per month. This is all thanks to more popular packages relying on it and the web expanding beyond its original boundaries. As a thank you I have taken the time to update and fix some features (the 1.13 release) – enjoy! Continue reading

Collum screw – to parallel or not

Two bridges

Bridging the knowledge gap in how to operate femoral neck fractures. The image is CC by Nick Mealey.

One of the first surgeries young orthopaedic surgeons learn is the femoral neck fracture fixation with collum screws. A common theme is how to position the screws and as a young surgeon one often believe that everything depends on the screw position, especially if they’re parallel or not. It was therefore quite fun and liberating to read Nyholm et al’s study with the subtitle: “Minimal Effect of Implant Position on Risk of Reoperation” Continue reading

A screw finally worth writing about

Nice to see a good RCT that actually addresses an issue that I care about. The image is CC by AraĆ­ Moleri Riva-Zucchelli,

I finally found something exciting to write about, the suture button/tightrope. I must admit that I’ve been “suture button curious” for a while now and seeing Andersen et al’s exciting RCT with almost 100 patients was truly interesting. The suture button outperformed the 4-cortical syndesmotic screws in all measurements, both patient reported and radiographic. The study is simply almost too good to be true. Continue reading

And I thought we were done with the mid-shaft clavicle….


Bicycle injuries are by far the most common mechanism of injury for clavicle injuries. The image is CC by Hiroyuki Takeda.

So… just a few days after my previous clavicle post, Ahrens et al released their multi-center study on 300 patients randomized to surgery. They found that operated clavicles have less pain early on, but that after 9 months they perform the same. The study was excellently performed with 20 centers, adequate patient selection, random block permutation for treatment allocation, and reasonable treatment options. Continue reading

The clavicle fracture – can the madness finally come to an end?

Finding the right path can be harder than we want to think . The image is CC by Gwenole Camus.

In the early 2000s Nowak et al. [1] shattered the belief that mid-shaft clavicle fractures always healed fine; even after 10 years almost half of the patients had remaining symptoms*. This common injury had also by in others [2] (with shorter follow-ups) been hinted as problematic, and within short we were showered with fancy new implants. After ≥ 7 RCTs [3], [4] on the subjects it seems that these new implants failed do deliver. Can we finally start questioning if surgery is the solution? Continue reading

Our AI on par with humans?

The first step in orthopedic deep learning. The image is CC from Pixabay.

We finally published our first article on deep learning (a form of artificial intelligence, AI) in orthopedics! We got standard off-the-shelf neural networks to perform equally well as senior orthopedic surgeons for identifying fractures. This was under the premise that both the network and the surgeons reviewed the same down-scaled images. Nevertheless, this was better than we expected and verifies my belief that deep learning is suitable for analyzing orthopedic radiographs. Continue reading