generated from jhudsl/OTTR_Template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.Rmd
163 lines (100 loc) · 8.39 KB
/
index.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
---
title: "Introduction to R"
date: "`r format(Sys.time(), '%B, %Y')`"
site: bookdown::bookdown_site
documentclass: book
bibliography: [book.bib]
biblio-style: apalike
link-citations: yes
description: ""
favicon: assets/dasl_favicon.ico
output:
bookdown::word_document2:
toc: true
---
# Course Logistics and Expectations
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
## Course Description
In this course, you will learn the fundamentals of R, a statistical programming language, and use it to wrangle data for analysis and visualization. The programming skills you will learn are transferable to learn more about R independently and other high-level languages such as Python. At the end of the class, you will be reproducing analysis from a scientific publication!
## Learning Objectives
After taking this course, you will be able to:
- **Analyze** Tidy datasets in the R programming language via data wrangling, summary statistics, and visualization.
- **Describe** how the R programming environment interpret complex expressions made out of functions, operations, and data structures, in a step-by-step way.
- **Apply** problem solving strategies to debug broken code.
## Course Website
All course information will be available here:
https://hutchdatascience.org/Intro_to_R
Course discussions will be done in the class slack Workspace. Invites will be sent before class.
Lab Assignments will be done in the class Posit.cloud workspace. Students should register at https://posit.cloud before the lab. Link to join the workspace will be sent out before the first lab.
## DaSL Courses are a Psychologically Safe Space
We want everyone to feel ok with asking questions. That's why we adhere to the [Participation Guidelines](https://hutchdatascience.org/communitystudios/guidelines/) for each course.
Be respectful of each other and how we learn differently. It is never ok to disparage people for their questions.
## Office Hours
Office Hours will be held via Teams on Fridays. Feel free to drop into the office hours and work and ask questions as needed.
## Clinical Network Issues
We know that learners on the Clinical network are having issues accessing material, including websites. We are working to figure out good workarounds for it.
If you are connected via VPN, we recommend that you disconnect it while working.
## Slack
If you haven't yet joined the FH Data Slack, you can join here: https://hutchdatascience.org/joinslack/
Look for the #dasl-s4-intro-to-r channel - that's where we'll have conversations and field questions.
## Instructor
[Ted Laderas, PhD](https://laderast.github.io)
tladera2@fredhutch.org
**Preferred Method of Contact**: Email/Slack
**Expected Response Time**: 24hrs
I've been teaching R for over 10 years, and have been an active user of R, a bioinformatician, and data scientist for over 20. I write a lot, including on Data Science, Mental Health, and Bioinformatics.
I'm always excited to see my learners surpass me, and if you are curious enough, I guarantee you will.
## Words of Encouragement
> This was adopted from Andrew Heiss. Thanks!
I *promise* you can succeed in this class.
Learning R can be difficult at first—it's like learning a new language, just like Spanish, French, or Chinese. Hadley Wickham—the chief data scientist at RStudio and the author of some amazing R packages you'll be using like `ggplot2`—[made this wise observation](https://r-posts.com/advice-to-young-and-old-programmers-a-conversation-with-hadley-wickham/):
> It’s easy when you start out programming to get really frustrated and think, “Oh it’s me, I’m really stupid,” or, “I’m not made out to program.” But, that is absolutely not the case. Everyone gets frustrated. I still get frustrated occasionally when writing R code. It’s just a natural part of programming. So, it happens to everyone and gets less and less over time. Don’t blame yourself. Just take a break, do something fun, and then come back and try again later.
Even experienced programmers find themselves bashing their heads against seemingly intractable errors. If you're finding yourself taking way too long hitting your head against a wall and not understanding, take a break, talk to classmates, e-mail me, etc.
```{r echo=FALSE, out.width="60%"}
# https://twitter.com/allison_horst/status/1213275783675822080
knitr::include_graphics("images/hosrt_error_tweet.png", error = FALSE)
```
[![Alison Horst: Gator error](images/gator_error.jpg)](https://twitter.com/allison_horst/status/1213275783675822080)
## LeaRning is Social
- Be curious, not afraid.
- Know that if you have a question, other people will have it.
- Asking questions is our way of taking care of others
The students who have a bad time in my workshops and courses are the ones who don't work with each other to learn. We are a learning community, and we should help each other to learn.
> Find a buddy to work with - and check in with them during class and out of class
If you understand something and someone is struggling with it, try and help them. If you are struggling, take a breath, and try to pinpoint what you are struggling with.
Our goal is to be better programmers each day, not to be the perfect programmer. There's no such thing as a perfect programmer. I've been learning new things almost every day.
## Course Times
I know that everyone is busy, and we'll do our best to accomodate everyone's schedule.
Classes will be recorded, but please do not use this as an excuse to miss class. Again, those who are curious and ask questions will learn quite a bit.
## Class Schedule
There are two sections of Intro to R.
- A hybrid (in-person and online) session on Wednesdays (12-1:30 PM PST)
- A completely remote session on Thursdays (2-3:30 PM PST)
When you are enrolled, we will send you teams invites for your section. Please note that we are at capacity for in-person. So if you have enrolled as online, please stay online.
The Hybrid Sections will be held in the Data Science Lab Lounge - Arnold M1- and online. Please note that I will in town and teaching in person on the starred (*) dates below.
Dates when I am not on campus, you are free to attend in the DaSL lounge, but I will be teaching Remotely.
If you are remote, feel free to jump between either sessions.
|Week|Subject|Hybrid Section Dates|Remote Session Dates|
|----|--------------------|--------------------|-----|
|1*|Introduction to R/RStudio|September 25|September 26|
|2|Data Structures|October 2|October 3|
|3*|Data Visualization|October 9|October 10|
|4 (optional)|Community Session|October 16|October 16|
|5*|Data Wrangling 1|October 23|October 24||
|6|Data Wrangling 2|October 30|October 31||
|7* (optional)|Community Session|November 6|November 6|
|8|Wrap-up/Discuss Code-a-thon|November 13|November 14|
Note that the Community Sessions are Shared between the two sections.
More details about the Code-a-thon to come.
## Community Sessions
Two times this quarter we will have learning community sessions, to talk about applications of what we're learning. These sessions are optional, but will help you solidify your learning during the course. These sessions are open to the larger Fred Hutch community, so if you know someone who is curious about R, you can send them the links below to RSVP for the session.
These dates are:
- [October 16 at 12-1:30 PM](https://www.addevent.com/event/Dl23075333)
- [November 6 at 12-1:30 PM](https://www.addevent.com/event/rl23076035)
You have the power to suggest topics. Start thinking about what you want to hear about.
## Patient / Clinical Data is a No on Posit Cloud
The Posit Cloud workspace is for your learning. Please do not put any patient or clinical information on there.
## Offerings
This course is taught on a regular basis at [Fred Hutch Cancer Center](https://www.fredhutch.org/) through the [Data Science Lab](https://hutchdatascience.org/). Announcements of course offering can be found [here](https://hutchdatascience.org/training/). If you wish to follow the course content asynchronously, you may access the course content on this website and [exercises and solutions on Posit Cloud](https://posit.cloud/content/8245357). The Posit Cloud compute space can be copied to your own workspace for personal use, and you can get started via this [introduction](https://hutchdatascience.org/Intro_to_R/intro-to-computing.html#posit-cloud-setup). Or, you can access the [exercises and solutions on GitHub](https://github.com/fhdsl/Intro_to_R_Exercises).