Data Science

@datascience@genomic.social
1,068 Followers
88 Following
1.3K Posts

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.

searchablehttps://tootfinder.ch
Rawgraphs is another tool to make figures without R: https://www.rawgraphs.io/ #dataviz #ui #nocode
RAWGraphs

A free and open source tool for data visualization.

Change the default colour palette in ggplot

I have written a function that returns a vector of color names: custom.colors <- function(n) { palette <- c("dodgerblue1", "skyblue4", "chocolate1", "seagreen4", "bisque3", ...

Stack Overflow
{ggchicklet}: library for rounded Segmented Column Charts: https://github.com/hrbrmstr/ggchicklet #ggplot #rstats #dataviz @hrbrmstr
GitHub - hrbrmstr/ggchicklet: 🀫 Create Chicklet (Rounded Segmented Column) Charts

🀫 Create Chicklet (Rounded Segmented Column) Charts - hrbrmstr/ggchicklet

GitHub
Do you need inspiration how to present a dataset in a clear figure and what package to use? Check out https://www.data-to-viz.com/ #rstats #dataviz @R_Graph_Gallery
From data to Viz | Find the graphic you need

A classification of chart types based on their input data format.

Want to check the google trends for a topic? Use {gtrendsR} directly from within your favorite language: https://github.com/PMassicotte/gtrendsR #googletrends #rstats @philmassicotte
If you just need a pretty figure from a dataset and not the full power of R, have a look at https://data-illustrator.cs.umd.edu/index.php . Data based illustrations without code. #gui #dataviz
Data Illustrator: Create infographics and data visualizations without programming

Create Infographics and Data Visualizations without Programming

Want to use {pak} as backend for {renv} actions? Set the variable RENV_CONFIG_PAK_ENABLED = TRUE https://github.com/rstudio/renv/issues/1210 #renv #pak #reproducibility #RLang
[pak] Use pak for package installation · Issue #1210 · rstudio/renv

Related issues: #1268 #1331 #1330 #1334

GitHub
quick and easy way to build a website for your r package: https://pkgdown.r-lib.org/ #rstats #package #documentation
Build websites for R packages

Generate an attractive and useful website from a source package. pkgdown converts your documentation, vignettes, README, and more to HTML making it easy to share information about your package online.

r-graph-gallery.com provides example code for a variety of chart types, both in base R and ggplot: https://r-graph-gallery.com/ #rstats #ggplot #design
The R Graph Gallery – Help and inspiration for R charts

The R graph gallery displays hundreds of charts made with R, always providing the reproducible code.

The R Graph Gallery
UNCHARTED DATA: Interactive Tooltip Tables

How to include tables in your {ggiraph} tooltips.

UNCHARTED DATA