Code Monkey home page Code Monkey logo

r-for-data-science-walkthrough's Introduction

R for Data Science (r4ds) walkthrough - notes and solutions

The free online version of the book R for Data Science by Hadley Wickham and Garrett Grolemund can be found at http://r4ds.had.co.nz/index.html. This is the version that I will be working with.

Here, I work through each chapter of the book and provide my take on the solutions to their exercises, and also mix in some of my own notes and explorations. I highly recommend walking through their book if you are trying to learn how to use the tidyverse for data wrangling and analysis. You can navigate through the exercise solutions at the bookdown website: https://erilu.github.io/R-for-data-science-walkthrough/.

My solutions may not be perfect, but hopefully they provide some insight into how each exercise can be answered. Although there are no formal solutions for this book, a more comprehensive and well-polished guide by Jeffrey Arnold can be found at https://jrnold.github.io/r4ds-exercise-solutions/.

About me

I used this book back when I was a PhD student in the Biomedical Sciences program at UCSF. For one of my research projects, I needed to perform RNA-sequencing experiments in order to characterize the gene expression changes that occured after immune cell activation. Typically, this type of differential gene expression analysis is performed using a suite of bioinformatics R packages available on Bioconductor (DESeq2, etc.) and requires a lot of data wrangling and processing. This book taught me useful techniques in R to help process the RNA-seq data, perform exploratory data analysis, create visualizations, and gain valuable insights. I still use many of the tools I learned from this book in my day-to-day life as a scientist, particularly when it comes to analysis of large datasets and bioinformatics.

Back then, I initially walked through this book by answering each exercise in a set of R notebooks, which you can find in the directory _before_bookdown. I recently wanted to learn how to use bookdown (https://github.com/rstudio/bookdown), so I converted my set of notebooks into a bookdown website as a mini-project. I hope that whoever is reading this out there will find some utility in this.

Thanks for stopping by!

r-for-data-science-walkthrough's People

Contributors

erilu avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.