wenweixiong / MARVEL

38 stars 9 forks source link

MARVEL

MARVEL is an R package developed for alternative splicing analysis at single-cell resolution. MARVEL complements published single-cell splicing softwares with the following features:

  1. Percent spliced-in (PSI) quantification for all seven main exon-level splicing events, i.e. skipped-exon (SE), mutually-exclusive exons (MXE), retained-intron (RI), alternative 5' and 3' splice sites (A5SS, A3SS), and alternative first and last exons (AFE, ALE).
  2. Stratify PSI distribution for each splicing event into the modalities (discrete splicing patterns), and adjust for technical biases during this assignment.
  3. Integrated differential splicing and gene expression analysis to reveal gene-splicing dynamics.
  4. Dimension reduction analysis.
  5. Pathway enrichment analysis.
  6. Splicing-associated nonsense-mediated decay (NMD) prediction.
  7. Multiple visualisation functions for exploring splicing and gene expression across cell populations.
  8. Supports both plate-based (e.g., Smart-seq2) and droplet-based (e.g., 10x Genomics) single-cell RNA-sequencing data analysis.
  9. In principle, also applicable to bulk RNA-sequencing data analysis.

General workflow

Installation

Please install the following pre-requisite R packages from CRAN prior to installing MARVEL.

install.packages("ggplot2")
install.packages("Matrix")
install.packages("plyr")
install.packages("scales")

MARVEL is available on CRAN.

install.packages("MARVEL")
library(MARVEL)

Alternatively and highly recommended, MARVEL may be installed from Github, which includes the most up-to-date functionalities.

library(devtools)
install_github("wenweixiong/MARVEL")
library(MARVEL)

Install adjunct Bioconductor packages

The following packages are not mandatory for MARVEL installation, but are highly recommended to support the functionalities of MARVEL.

if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("AnnotationDbi")
BiocManager::install("Biostrings")
BiocManager::install("BSgenome")
BiocManager::install("BSgenome.Hsapiens.NCBI.GRCh38")
BiocManager::install("clusterProfiler")
BiocManager::install("GenomicRanges")
BiocManager::install("IRanges")
BiocManager::install("org.Hs.eg.db")
BiocManager::install("org.Mm.eg.db")
BiocManager::install("phastCons100way.UCSC.hg38")

Install adjunct CRAN packages

The following packages are not mandatory for MARVEL installation, but are highly recommended to support the functionalities of MARVEL.

install.packages("factoextra")
install.packages("FactoMineR")
install.packages("fitdistrplus")
install.packages("ggplot2")
install.packages("ggrepel")
install.packages("gtools")
install.packages("kSamples")
install.packages("pheatmap")
install.packages("reshape2")
install.packages("S4Vectors")
install.packages("scales")
install.packages("stringr")
install.packages("textclean")
install.packages("twosamples")

Install adjunct customised package

Please install the modified wiggleplotr R package from here: https://drive.google.com/file/d/1eEkq1axQXynVifWanh9ACichIrJjyNfr/view?usp=share_link

install.packages("wiggleplotr_1.18.0.tar.gz", repos=NULL, type="source")

Tutorial

Single-cell plate-based alternative splicing analysis: https://wenweixiong.github.io/MARVEL_Plate.html
Single-cell droplet-based alternative splicing analysis: https://wenweixiong.github.io/MARVEL_Droplet.html

Version updates

version 1.4.0

version 2.0.1

version 2.0.2

version 2.0.3

version 2.0.4

Further improvements

We are keen to further improve MARVEL to make it more comprehensive for single-cell splicing analysis. In particular we hope to include more functionalites related to functional annotation, e.g., predicting the biological consequence of alternative splicing. If interested please get in touch :)

Contact

Sean Wen sean.wen@astrazeneca.com.