class: center, middle, inverse, title-slide .title[ # Welcome to the R-verse ] .subtitle[ ## Setting up your computers for R ] .author[ ### Cassandra Buzby & Yen-Chung Chen ] .date[ ### 2022-06-14 ] --- # About Yen .pull-left[ ## Yen-Chung Chen - 5th-year PhD student in the Desplan lab - Work with 🪰,
, and
. ] -- .pull-right[ <img src="img/Dm3_1-4.png" width="75%" /><img src="img/L3_optic_lobe.png" width="75%" /> ] --- # About Cassandra .pull-left[ ## Cassandra Buzby - 5th-year PhD student in the Siegal lab - Studies gene interactions using budding yeast and analyzes the data in R (which you'll see later!) ] .pull-right[ <img src="img/cb.jpg" width="75%" /> ] --- layout: true # Why are we here? .pull-left[ ## Because - Biology has become big - We need multiple perspectives - We need to challenge our premise ] --- .pull-right[ <img src="img/scrna.png" width="1504" /> ] .legend[ [1] [Angerer _et al._ (2017)](https://doi.org/10.1016/j.coisb.2017.07.004) ] --- .pull-right[ <img src="img/gb.png" width="1392" /> ] .legend[ [1] [GenBank and WGS Statistics](https://www.ncbi.nlm.nih.gov/genbank/statistics/) ] --- .pull-right[ ## Therefore - Data wrangling (3) - Data visualization (2) - Statistics and modeling (2) ] --- layout: true # Do (not) bother to pick a language --- - Languages are often more similar than different -- ```r # R model <- lm(x = data[["x"]], y = data[["y"]]) ``` -- ```python # Python model = LinearRegression() model.fit(x = data['x'], y = data['y']) ``` -- ```julia # julia model = lm(@formula(y~x), data) ``` -- ```octave # MATLAB model = fitlm(data, 'y', 'x'); ``` --- - Use whatever tool your peers are using -- - Use what is popular in your field -- - Use what addresses your immediate need --- layout:true # Why R? --- .pull-left[ ## Pros - R is intuitive - R has a strong community in genomics and statistics - R is very visual ] -- .pull-right[ ## Cons - R could be counterintuitive in a programming sense - R is less powerful for building computationally heavy tools ] --- layout: false # Goals of this workshop - Help you to do whatever you want to do with your data in R -- - Give you the lever to work with thousands to millions of data entries (`dplyr` and `tidyr`) -- - Visualize your data in multiple perspectives with minimal struggle (`ggplot2`) -- - Test your hypotheses with statistics --- class: inverse, middle, center, section-title # Questions?