-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
84 lines (57 loc) · 2.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
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
eval = FALSE,
collapse = TRUE,
comment = "#>",
dpi = 900,
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# chevreulShiny
This package includes a set of Shiny apps for exploring single cell RNA datasets processed as a SingleCellExperiment
A demo using a human gene transcript dataset from Shayler et al. (link) is available <a href="http://cobrinik-1.saban-chla.usc.edu:8080/app/objectApp" target="_blank" rel="noopener noreferrer">here</a>
There are also convenient functions for:
- Clustering and Dimensional Reduction of Raw Sequencing Data.
- Integration and Label Transfer
- Louvain Clustering at a Range of Resolutions
- Cell cycle state regression and labeling
> [!WARNING]
> chevreulShiny was designed for full-length smart-seq based single cell data. Default settings may not be appropriate for droplet (10x) data, though most can be adjusted. Keep in mind best practices regarding normalization, dimensional reduction, etc. when using.
## Installation
You can install the released version of chevreulShiny from <a href="https://github.com/cobriniklab/chevreulShiny" target="_blank" rel="noopener noreferrer">github</a> with:
### Install locally and run in three steps:
You can install chevreulShiny locally using the following steps:
```{r, eval=FALSE}
install.packages("devtools")
devtools::install_github("cobriniklab/chevreulShiny")
library(chevreulShiny)
create_project_db()
```
You can also customize the location of the app using these steps:
```{r, eval=FALSE}
devtools::install_github("cobriniklab/chevreulShiny")
library(chevreulShiny)
create_project_db(destdir = "/your/path/to/app")
```
## TLDR
Chevreul provides a single command to:
- construct a SingleCellExperiment object
- filter genes by minimum expression and ubiquity
- normalize and scale expression by any of several methods packaged in SingleCellExperiment
## Run clustering on a single object
By default clustering will be run at ten different resolutions between 0.2 and 2.0. Any resolution can be specified by providing the resolution argument as a numeric vector.
```{r, cache = FALSE, eval = FALSE}
clustered_sce <- clustering_workflow(chevreul_sce,
experiment_name = "sce_hu_trans",
organism = "human"
)
```
## Get a first look at a processed dataset using an interactive shiny app
```{r, eval = FALSE}
minimalChevreulApp(chevreul_sce)
```