Instructors:
Antonios Somarakis, Brian White, Dan Gatti, Elaheh Alizadeh, Sue McClatchy
Helpers:
Asli Uyar
General Information
Spatially resolved transcriptomics is a cutting-edge molecular profiling technology that measures transcript expression and position within a tissue. This course will teach you how to analyze spatial transcriptomics data generated by the 10X Genomics Visium platform. By the end of this course, you will be able to:
Describe different spatial transcriptomics technologies and the best uses of each.
Identify important elements for good experimental design.
Analyze spatial transcriptomics data, including quality control, transcript quantification, and cell-type assignment within regions.
Requirements:
Participants must bring a laptop with a
Mac, Linux, or Windows operating system (not a tablet, Chromebook, etc.).
They should have a few specific software packages installed (listed below).
Accessibility:
We are committed to making this workshop
accessible to everybody. For workshops at a physical location, the workshop organizers have checked that:
The room is wheelchair / scooter accessible.
Accessible restrooms are available.
Materials will be provided in advance of the workshop and
large-print handouts are available if needed by notifying the
organizers in advance. If we can help making learning easier for
you (e.g. sign-language interpreters, lactation facilities) please
get in touch (using contact details below) and we will
attempt to provide them.
R is a programming language
that is especially powerful for data exploration, visualization, and
statistical analysis. To interact with R, we use
RStudio.
Install R by downloading and running
this .exe file
from CRAN.
Also, please install the
RStudio IDE.
Note that if you have separate user and admin accounts, you should run the
installers as administrator (right-click on .exe file and select "Run as
administrator" instead of double-clicking). Otherwise problems may occur later,
for example when installing R packages.
Instructions for R installation on various Linux platforms (debian,
fedora, redhat, and ubuntu) can be found at
<https://cran.r-project.org/bin/linux/>. These will instruct you to
use your package manager (e.g. for Fedora run
sudo dnf install R and for Debian/Ubuntu, add a ppa
repository and then run sudo apt-get install r-base).
Also, please install the
RStudio IDE.
R Packages
Next, we will install the required packages for this lesson. Note that the
spacexr
package takes a long time to download. It may take up to 30 minutes for it to install.
In RStudio, copy and paste the following commands into the Console:
Create a new project called spatialRNA.
Click the File menu button, then New Project.
Click New Directory.
Click New Project.
Type spatialRNA as the directory name. Create the project anywhere you like, but don’t
forget where you put it! Your desktop might be a handy place.
Click the Create Project button. This will create a file called spatialRNA.Rproj in the
directory you just created. In the future you can double-click on this file to open
RStudio in this directory. This will be the easiest way to interact with the files/code
you produce in this workshop.
Create a data directory to hold the data, a scripts directory to house your scripts, and
a results directory to hold results. You can use the Files tab at lower right to create these
directories.
Alternatively, you can copy-paste the following into the R console for step 2 only. You still
need to create a project with step 1.
We will be working with brain data from
Maynard et al., Nature Neuroscience, 2021.
We have created links on Box from which you can download the data. Once you have opened your
spatialRNA project in RStudio, copy-paste the code below into the console to download the data
into your data directory.