Data Science

I'm a data scientist with a background in genomics, working at a growing Swedish biotec company. Using mostly R.

Here I'm posting mainly about tips and tricks I wished I knew earlier. Posts are partially scheduled and resources shared are not developed by me.

2025-05-24

Friends Don't Let Friends Make Bad Graphs! Do you agree with the examples of bad graphs and the alternatives Chenxin Li (@chenxinli2.bsky.social) lists at github.com/cxli233/FriendsDont #RStats #graphs #dataviz #help

Data Science boosted:
Etienne Bacheretiennebacher
2025-05-23

New blog post: Refactoring code with `flir`

`flir` is a package I created last year to detect and automatically fix bad practices in R code (similar to `lintr` but faster and with automatic fixes).

In this blog post, I explain how it can do more than that, for instance to replace superseded and deprecated functions in large projects.

etiennebacher.com/posts/2025-0

2025-05-23

Handy RStudio addins for reshaping and navigating in code: github.com/lionel-/codegrip #rstats #rstudio floss.social/@lionel @_lionelhenry

2025-05-22

Lets be honest, we spend too much time cleaning data. {janitor} can help with that: sfirke.github.io/janitor/ #rstats #datasciece a2mi.social/@samfirke

2025-05-20

If you set limits for a scale (e.g. x-axis) in ggplot, how would you like data outside of that range be handled? There is the oob parameter for that and a set of functions to use with it: scales.r-lib.org/reference/oob #rstats #ggplot #dataviz

2025-05-19

Visualize dependencies between functions: github.com/lewinfox/foodwebr #rstats

2025-05-17

Add some swag to your ggplots, with fontawesome symbols and colors: nrennie.rbind.io/blog/adding-s #rstats #ggplot #fontawesome #ggtext

2025-05-16

R learning for applied statistics by Chenxin Li: github.com/cxli233/Online_R_le A self paced course structured in R markdown documents, that starts from the very basic. #rstats #course #learning

2025-05-15

{purrr} has some lesser known functions that make handling of failing function calls easier: safely, quietly, possibly: purrr.tidyverse.org/reference/ #rstats #tidyverse

2025-05-14

Interactive resizing of picture and table content in Rmd and Quarto: r2resize.obi.obianom.com/index #rstats #quarto #rmarkdown

2025-05-13

The {conflicted} package makes sure that namespace conflicts are solved explicitly and prevents unpleasent surprises: conflicted.r-lib.org/ #rstats #failearly

2025-05-12

I have a habbit of making (too) many (small) packages for functionality that might be reused in different context. {box} might be an alternative by making scripts into modlues that can be loaded: klmr.me/box/ #RStats #packages #waysofworking

2025-05-11

Linear programs help to find optimal solutions based on a set of constrains. I used {ompr} before, but the new package {tidyLP} looks promising and integrates with the tidyverse. #rstats #linearprograms #optimization github.com/colin-fraser/tidyLP dirkschumacher.github.io/ompr/

2025-05-10

Base pipe vs magrittr pipe: a thread by TimTeaFan: threadreaderapp.com/thread/158 #rstats

2025-05-09

The fastverse is a suite of complementary high-performance packages for statistical computing and data manipulation in R. github.com/fastverse/fastverse #rstats #performance #fast

2025-05-08

Customize what happens when you start R: henrikbengtsson.github.io/star #rstats #environment

2025-05-07

Rawgraphs is another tool to make figures without R: rawgraphs.io/ #dataviz #ui #nocode

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst