Newer
Older
# Splatter
[](https://travis-ci.org/Oshlack/splatter)
[](https://codecov.io/github/Oshlack/splatter?branch=master)
[](https://ci.appveyor.com/project/Oshlack/splatter)

Splatter is an R package for the simple simulation of single-cell RNA sequencing
data. Splatter provides a common interface to multiple simulations that have:
* Functions for estimating simulation parameters
* Objects for storing those parameters
* Functions for simulating counts using those parameters
Splatter is built on top of [`scater`][scater] and stores simulations in
`SCESet` objects. Splatter also has functions for comparing simulations and real
datasets.
## Installation.
### Development version
Splatter has been accepted into the latest version of [Bioconductor][bioc]
and hence requires the latest version of R (>=3.4).
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
If you have these installed Splatter can be installed from Bioconductor using
`biocLite`:
```{r}
source("https://bioconductor.org/biocLite.R")
biocLite("splatter")
```
If you wish to build a local version of the vignette use:
```{r}
biocLite("splatter", build_vignettes=TRUE)
```
This will also build the vignette and install all suggested dependencies (which
aren't required for core functionality). Building the vignette may sometimes
fail when run from the command line, if this happens try running the install
command in RStudio.
## Getting started
Once installed the best place to get started is the vignette. For most users
the most convient way to access this is online [here][vignette].
Alternatively, if you chose to build the vignette, you can load Splatter, then
browse the vignettes:
```{r}
library(splatter)
browseVignettes("splatter")
```
This is a detailed document that introduces the main features of Splatter.
[scater]: https://github.com/davismcc/scater
[contrib]: https://github.com/Bioconductor/Contributions/issues/209
[bioc]: https://bioconductor.org/packages/devel/bioc/html/splatter.html
[vignette]: https://bioconductor.org/packages/devel/bioc/vignettes/splatter/inst/doc/splatter.html