-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.qmd
More file actions
133 lines (94 loc) · 4.22 KB
/
index.qmd
File metadata and controls
133 lines (94 loc) · 4.22 KB
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
---
sidebar: false
toc: false
execute:
eval: false
---
# Introduction to Spatial Single-cell RNA-seq
| Audience | Computational skills required| Duration |
:----------|:----------|:----------|
| Biologists | [Introduction to R](https://hbctraining.github.io/Intro-to-R-flipped/) | 4-session online workshop (~7.5 hours of trainer-led time)|
### Description
This repository has teaching materials for a hands-on **Introduction to Spatial Single-cell RNA-seq** workshop. **ADD DESCRIPTION HERE STILL** Working knowledge of R is required or completion of the [Introduction to R workshop](https://hbctraining.github.io/Intro-to-R-flipped/).
**Note for Trainers:** Please note that the schedule linked below assumes that learners will spend between 3-4 hours on reading through, and completing exercises from selected lessons between classes. The online component of the workshop focuses on more exercises and discussion/Q & A.
::: callout-note
These materials were developed for a trainer-led workshop, but are also amenable to self-guided learning.
:::
### Learning Objectives
- LO 1
- LO 2
- LO 3
- LO 4
### Lessons
* [Workshop schedule (trainer-led learning)](schedule/schedule.qmd)
* [Self-learning](schedule/links-to-lessons.qmd)
### Installation Requirements
#### Applications
Download the most recent versions of R and RStudio for your laptop:
- [R](http://lib.stat.cmu.edu/R/CRAN/) **(version 4.0.0 or above)**
- [RStudio](https://www.rstudio.com/products/rstudio/download/#download)
#### Packages for R
::: callout-note
# Notes
**Note 1: Install the packages in the order listed below.**
**Note 2: All the package names listed below are case sensitive!**
**Note 3**: If you have a Mac with an M1 chip, download and install this tool before intalling your packages: https://mac.r-project.org/tools/gfortran-12.2-universal.pkg
**Note 4**: At any point (especially if you’ve used R/Bioconductor in the past), in the console **R may ask you if you want to update any old packages by asking Update all/some/none? [a/s/n]:**. If you see this, **type "a" at the prompt and hit Enter** to update any old packages. _Updating packages can sometimes take quite a bit of time to run, so please account for that before you start with these installations._
**Note 5:** If you see a message in your console along the lines of “binary version available but the source version is later”, followed by a question, **“Do you want to install from sources the package which needs compilation? y/n”, type n for no, and hit enter**.
:::
**(1)** Install the X packages listed below from **Bioconductor** using the the `BiocManager::install()` function.
1. `package_1`
2. `package_2`
3. `package_3`
4. `package_4`
**Please install them one-by-one as follows:**
```{r}
BiocManager::install("package_1")
BiocManager::install("package_2")
BiocManager::install("package_3")
BiocManager::install("package_4")
```
**(2)** Install the Y packages listed below from **CRAN** using the `install.packages()` function.
1. `arrow`
2. `hdf5r`
3. `Seurat`
4. `package_8`
5. `package_9`
6. `package_10`
7. `package_11`
**Please install them one-by-one as follows:**
```{r}
install.packages("package_5")
install.packages("package_6")
install.packages("package_7")
install.packages("package_8")
install.packages("package_9")
install.packages("package_10")
install.packages("package_11")
```
**(3)** Finally, please check that all the packages were installed successfully by **loading them one at a time** using the `library()` function.
```{r}
library(package_1)
library(package_2)
library(package_3)
library(package_4)
library(package_5)
library(package_6)
library(package_7)
library(package_8)
library(package_9)
library(package_10)
library(package_11)
```
**(4)** Once all packages have been loaded, run sessionInfo().
```{r}
sessionInfo()
```
---
### Citation
To cite material from this course in your publications, please use:
::: callout-important
# Citation
**Create Zenodo citation**
:::
A lot of time and effort went into the preparation of these materials. Citations help us understand the needs of the community, gain recognition for our work, and attract further funding to support our teaching activities. Thank you for citing this material if it helped you in your data analysis.