datascience

@datascience@genomic.social

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.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

ramikrispin, to datascience
@ramikrispin@mstdn.social avatar

My R Shinylive app is now on Github Pages. It was simple and straightforward to deploy the app on Pages, a tutorial to follow...

Please be patient while loading 😝

Pros:

  • Serverless
  • Easy to deploy as a website on Github Pages (and similar)

Cons:

  • Slow load time
  • Still experimental

https://ramikrispin.github.io/shinylive-r/

datascience,

@ramikrispin This is cool! looking forward to the tutorial!

datascience, to random

Want to check the google trends for a topic? Use {gtrendsR} directly from within your favorite language: https://github.com/PMassicotte/gtrendsR @philmassicotte

datascience, to random

The FOMO of missing posit::conf...
Lets hope next year my company will prioritize this opportunity again.

datascience, to random

quick and easy way to build a website for your r package: https://pkgdown.r-lib.org/

datascience, to design

r-graph-gallery.com provides example code for a variety of chart types, both in base R and ggplot: https://r-graph-gallery.com/

datascience, to genart

R doesnt need to be a hard and scientific tool 📈. You can use it to make art 🎨: https://github.com/cutterkom/generativeart @cutterkom

datascience, to random

Add highlighting to your quarto presentation using the RoughNotation library: https://emilhvitfeldt.github.io/quarto-roughnotation/

datascience,

@matti @emilhvitfeldt Yeah, there seem to be some zooming related problems: https://github.com/EmilHvitfeldt/quarto-roughnotation/issues/10

datascience, to random

Yet another package to speed up different calculations in R: https://github.com/SebKrantz/collapse

datascience, to random

Are you interested in how dependency-heavy your (or another) package is and why? https://github.com/jokergoo/pkgndep

datascience, to random

Sometimes you get data in less than optimal format, e.g. as a png of a figure 😭... In that case https://cran.r-project.org/web/packages/metaDigitise/vignettes/metaDigitise.html might be the rescue.

datascience, to random
datascience, to random

Do you need better performance than what the standard functions have? {collapse} might be worth a look: https://sebkrantz.github.io/collapse/

datascience, to design

If you use Quarto to make presentations for a professional setting, it is important to choose the right theme, e.g. https://github.com/EmilHvitfeldt/quarto-nes-theme @Emil_Hvitfeldt

datascience, to datascience

TidyX: screencasts explaining different aspects of the R language and the coding process. https://www.youtube.com/channel/UCP8l94xtoemCH_GxByvTuFQ @tidy_explained

datascience, to cochlearimplants

I did not know about ggplot_build() before. It can come in handy in situations where you want to access computed metrics of a . https://ggplot2.tidyverse.org/reference/ggplot_build.html. Thanks @thedatainklab for sharing.

datascience, to cochlearimplants

GitHub Actions for the R language: Makes automatic testing of your R package much easier and making sure your package works on different OS and R versions is a matter of just a few lines of yaml: https://github.com/r-lib/actions

datascience, to random

Are you making slides with Quarto or R Markdown and need a timer e.g. for breaks or group work? There is the {countdown} package for you: https://pkg.garrickadenbuie.com/countdown/#1

datascience, to random
datascience, to random

Keynote from rstudio::conf 2022: The past and future of shiny. https://www.rstudio.com/conference/2022/keynotes/past-future-shiny/

datascience, to design

"Graphic Design with ": All material from this 2 day workshop can be found at https://rstudio-conf-2022.github.io/ggplot2-graphic-design/

datascience, to random

Do you (sometimes) use print() or message() for debugging your code? Next time you can use {icecream} instead: https://turtletopia.github.io/2022/07/28/ice-cream-for-r-programmers/

datascience,

@gregorsaurus same! I wasnt sure if I need this in my life. And tbo, i dont use it frequently, but it lands on quite a sweet spot between print() and browser()

datascience, to datascience

{slider} helps with aggregation over (sliding) windows, both index and time period based: https://github.com/DavisVaughan/slider

datascience, to random

{lubridate} makes working with dates in R just that little bit easier: https://lubridate.tidyverse.org/

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • ngwrru68w68
  • thenastyranch
  • osvaldo12
  • cubers
  • InstantRegret
  • DreamBathrooms
  • cisconetworking
  • magazineikmin
  • Youngstown
  • Durango
  • mdbf
  • slotface
  • rosin
  • anitta
  • kavyap
  • tacticalgear
  • modclub
  • khanakhh
  • Leos
  • ethstaker
  • everett
  • tester
  • GTA5RPClips
  • normalnudes
  • provamag3
  • megavids
  • lostlight
  • All magazines