-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathREADME.Rmd
92 lines (64 loc) · 5.5 KB
/
README.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
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/",
out.width = "100%"
)
```
<!-- badges: start -->
<!-- badges: end -->
# Single Cell Pathway Analysis <img src="man/figures/logo.png" align="right" width=80px/>
![](man/figures/scpa_outline.png)
### On this page
1. Recent updates to SCPA
1. A brief [overview](https://jackbibby1.github.io/SCPA/#about-scpa) of SCPA
1. Package [installation](https://jackbibby1.github.io/SCPA/#installation)
1. Links to [tutorials](https://jackbibby1.github.io/SCPA/#tutorials)
1. Submitting [issues/comments](https://jackbibby1.github.io/SCPA/#issues)
1. [Improvements/changes/updates](https://jackbibby1.github.io/SCPA/news/index.html) to SCPA
### Recent updates
- Compatability with Seurat v5 objects to use the layer system in `seurat_extract()` and `compare_seurat()` (v1.6). SCPA automatically detects Seurat object version
- Ability to specify [multiple gmt files](https://jackbibby1.github.io/SCPA/articles/using_gene_sets.html#using-a-gmt-file) as your pathway input (v1.5.2)
- [Parallel processing](https://jackbibby1.github.io/SCPA/articles/parallel_implementation.html) implemented to speed up analyses (v1.5.0)
- Much more efficient usage of memory, so this shouldn't be limiting (v1.3.0)
### About SCPA
SCPA is a method for pathway analysis in single cell RNA-seq data. It's a different approach to pathway analysis that defines pathway activity as a change in multivariate distribution of a given pathway across conditions, rather than enrichment or over representation of genes.
This approach allows for a number of benefits over current methods:
1. Multivariate distribution testing allows for the identification of pathways that show enrichment in a given population AND also pathways that show transcriptional change independent of enrichment. You essentially get the best of both worlds, as pathways with changes in multivariate distribution (high qval) but no overall enrichment (low fold change) are still interestingly different pathways, as we show in [our paper](https://www.cell.com/cell-reports/fulltext/S2211-1247(22)01571-6). For more on this, see our [SCPA interpretation page](https://jackbibby1.github.io/SCPA/articles/interpreting_scpa_output.html)
1. SCPA allows for multisample testing, so you can compare multiple conditions simultaneously e.g. compare across 3 time points, or across multiple phases of a [pseuodotime trajectory](https://jackbibby1.github.io/SCPA/articles/pseudotime.html). This means you can assess pathway activity through multiple stimulation phases, or across cell differentiation
SCPA can be applied directly on Seurat and SCE objects, as well as manually subsetted expression matrices. You just need to
supply this along with your pathways that you want to analyse.
To see the stats behind SCPA, you can see our paper in JASA [here](https://www.tandfonline.com/doi/full/10.1080/01621459.2020.1791131)
Our paper introducing SCPA and demonstrating its use on a T cell scRNA-seq dataset
is published in Cell Reports [here](https://www.cell.com/cell-reports/fulltext/S2211-1247(22)01571-6)
### Installation
You can install SCPA by running:
``` r
# install.packages("devtools")
devtools::install_version("crossmatch", version = "1.3.1", repos = "http://cran.us.r-project.org")
devtools::install_version("multicross", version = "2.1.0", repos = "http://cran.us.r-project.org")
devtools::install_github("jackbibby1/SCPA")
```
### Installation problems
If you're running into installation errors, you'll likely need to manually install the dependencies that are mentioned in the error. For example, see these issues [here](https://github.com/jackbibby1/SCPA/issues/54) and [here](https://github.com/jackbibby1/SCPA/issues/56)
### Tutorials
If you're viewing this page on GitHub, the SCPA webpage with all the documentation and tutorials is [here](https://jackbibby1.github.io/SCPA/)
We have various examples and walkthroughs, including:
- A generic quick start [tutorial](https://jackbibby1.github.io/SCPA/articles/quick_start.html) on a basic scRNA-seq dataset
- A [tutorial](https://jackbibby1.github.io/SCPA/articles/using_gene_sets.html) on how to get and use gene sets with SCPA
- [An outline](https://jackbibby1.github.io/SCPA/articles/parallel_implementation.html) for speeding up SCPA with parallel processing
- A [tutorial](https://jackbibby1.github.io/SCPA/articles/comparing_two_populations.html) for more detailed two group comparison with a specific scRNA-seq data set
- A [tutorial](https://jackbibby1.github.io/SCPA/articles/seurat_comparison.html) on how to use SCPA directly within a Seurat or SingleCellExperiment object
- A [tutorial](https://jackbibby1.github.io/SCPA/articles/visualisation.html) on visualising SCPA output
- A [tutorial](https://jackbibby1.github.io/SCPA/articles/pseudotime.html) for multisample SCPA, comparing pathways across a scRNA-seq T cell pseudotime trajectory
- A [tutorial](https://jackbibby1.github.io/SCPA/articles/systematic_tissue_comparison.html) of a systematic analysis of many cell types across multiple tissues
- A [tutorial](https://jackbibby1.github.io/SCPA/articles/disease_comparison.html) for a systems level analysis of many cells types in disease (COVID-19)
### Issues
To report any issues or submit comments please use: https://github.com/jackbibby1/SCPA/issues
### Changelog
Any new features or alterations to SCPA can be found [here](https://jackbibby1.github.io/SCPA/news/index.html)