Chapter 8 Shared Code
The aim of the shared code is to implement the lab’s core ideas on analysis of scRNA-seq data. The code is written in R and is publicly available via GitHub (see below). It was designed with a modular approach and hence is separated into several well-defined packages. The packages and functions are well documented and examples are provided within each package.
8.1 About the R packages
8.1.1 scandal
A framework that enables defining a single-cell experiment.
The package provides methods for loading the data, preprocessing and quality control, maintaining the data with a low memory footprint (using sparse matrices), various plotting methods, linking meta-data with expression data and more.
The package extends the SingleCellExperiment
class, adapting it for use in our lab. See this tutorial for an introduction to the SingleCellExperiment
class.
To install in R:
8.1.2 infercna
Website & Tutorials | Functions index | Source code | Report bugs
Infer copy-number alterations from (single-cell) RNA-sequencing data.
The methodology implemented here was first formulated by Itay and colleagues during his postdoc Tirosh et al., 2014 and has been tried and tested in several publications since (Filbin et al., 2018; Neftel et al., 2019; Puram et al., 2017; Tirosh et al., 2016a, 2016b; Venteicher et al., 2017).
To install in R:
Tutorial 1: Set your genome
Tutorial 2: Example with a scRNA-seq dataset
8.1.3 scrabble
Website & Tutorials | Functions index | Source code | Report bugs
Perform exploratory computational analyses on processed scRNAseq gene expression data.
The package focuses on unbiased methods in unsupervised clustering and dimensionality reduction to identify and characterize the transcriptionally-distinct subpopulations of cancer cells residing within tumours.
In its current implementation scrabble most closely reflects the methods implemented in Neftel et al., 2019 though any of the lab’s papers should be useful as reference.
To install in R:
8.2 Contributing
Members of the lab to whom the shared code is relevant and of use are encouraged to contribute to it. This will both help the code to grow and develop but also allow you to fine-tune it for your own analyses. To make individual contributions, you can fork the project from GitHub. To contribute in a more long-term way, ask Julie or Avishay to add you as an official contributor to the GitHub package(s) in question.