Code Monkey home page Code Monkey logo

courses_cmri_r's Introduction

R workshop @ CMRI

Useful links:

Workshop for introductory R analysis for people at CMRI - TVRU, GTRU?

Ideally one day's worth of material - two sessions, could be spread over one day.

Consider covering:

  • Rstudio basics
  • git
  • conda?
  • R basics
  • tidyverse:
    • readr / vroom
    • dplyr / dtplyr
      • mutate
      • slice
      • filter
      • joins
    • ggplot2 / patchwork / cowplot
    • stringr?
  • bioconductor: what is bioconductor, biostrings?
  • case study: peptide analysis

Rstudio basics

  • projects
  • panes
  • installing packages
  • Rmarkdown
  • git in rstudio?
  • getting help: vignettes, help (?func, help pane), stack overflow
  • reprex

R basics

  • comments
  • types: numeric, string
  • coercing types
  • assignment and variables
  • vectors/matrices/data.frame
  • indexing
  • control flow: if/else, for loops
  • functions
    • inbuilt functions
    • writing own functions
  • pipes
  • libraries
  • design principles for reproducibility
    • don't re-use code/repeat yourself
    • comment frequently
    • testing / unit tests
    • what output do you expect?
    • formatting and readability matters
    • consider package versions: conda / venv
    • consider paths of input/output files (here)

Tidyverse

Cheatsheats

Readr / vroom

  • read_tsv, read_csv, read_delim
  • column types
  • headers
  • vroom for multiple files

dplyr

  • mutate
  • slice
  • grouping
  • summarize
  • joins
  • pivot wide/long
  • tidy select
  • dtplyr / dbplyr / multidplyr

ggplot2

  • aesthetics
  • geoms
  • facets
  • scales
  • labels
  • annotation
  • saving plots
  • patchwork / cowplot

other tidyverse

  • stringr: regex
  • glue
  • purrr: map, reduce

other libraries

  • pheatmap
  • rstatix

Bioconductor

  • intro to bioconductor
  • biostrings
  • edgeR / DEseq2
  • seurat
  • GenomicRanges
  • karyoploteR

courses_cmri_r's People

Contributors

szsctt avatar

Watchers

 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.