Skip to content
Snippets Groups Projects
README.md 3.4 KiB
Newer Older
Luke Zappia's avatar
Luke Zappia committed
[![Project Status](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active)
[![Lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://www.tidyverse.org/lifecycle/#stable)
[![Travis-CI Build Status](https://travis-ci.org/Oshlack/splatter.svg?branch=master)](https://travis-ci.org/Oshlack/splatter)
[![Coverage Status](https://img.shields.io/codecov/c/github/Oshlack/splatter/master.svg)](https://codecov.io/github/Oshlack/splatter?branch=master)
[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/Oshlack/splatter?branch=master&svg=true)](https://ci.appveyor.com/project/Oshlack/splatter)
Luke Zappia's avatar
Luke Zappia committed
[![Bioc Years](https://bioconductor.org/shields/years-in-bioc/splatter.svg)](https://bioconductor.org/packages/devel/bioc/html/splatter.html)
[![Bioc Stats](https://bioconductor.org/shields/downloads/splatter.svg)](https://bioconductor.org/packages/devel/bioc/html/splatter.html)
[![Bioc Build](https://bioconductor.org/shields/build/devel/bioc/splatter.svg)](https://bioconductor.org/packages/devel/bioc/html/splatter.html)
Luke Zappia's avatar
Luke Zappia committed
![Splatter logo](vignettes/splatter-logo-small.png)

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
Luke Zappia's avatar
Luke Zappia committed
[`SingleCellExperiment`][SCE] objects. Splatter also has functions for comparing
simulations and real datasets.
Luke Zappia's avatar
Luke Zappia committed
Splatter is available from [Bioconductor][bioc] for R >=3.4.
It can be installed from Bioconductor with:
if (!requireNamespace("BiocManager", quietly=TRUE))
    install.packages("BiocManager")
BiocManager::install("splatter")
If you wish to build a local version of the vignette use:
BiocManager::install("splatter", build_vignettes=TRUE)

This will also build the vignette and install all suggested dependencies (which
Luke Zappia's avatar
Luke Zappia committed
aren't required for core functionality).
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.

Luke Zappia's avatar
Luke Zappia committed
## Citing Splatter

If you use Splatter please cite our paper ["Zappia L, Phipson B, Oshlack A.
Luke Zappia's avatar
Luke Zappia committed
Splatter: Simulation Of Single-Cell RNA Sequencing Data. Genome Biology. 2017;
doi:10.1186/s13059-017-1305-0"][paper].
Luke Zappia's avatar
Luke Zappia committed

```
Luke Zappia's avatar
Luke Zappia committed
  @Article{,
Luke Zappia's avatar
Luke Zappia committed
    author = {Luke Zappia and Belinda Phipson and Alicia Oshlack},
Luke Zappia's avatar
Luke Zappia committed
    title = {Splatter: simulation of single-cell RNA sequencing data},
    journal = {Genome Biology},
Luke Zappia's avatar
Luke Zappia committed
    year = {2017},
Luke Zappia's avatar
Luke Zappia committed
    url = {http://dx.doi.org/10.1186/s13059-017-1305-0},
    doi = {10.1186/s13059-017-1305-0},
Luke Zappia's avatar
Luke Zappia committed
  }
```

[scater]: https://github.com/davismcc/scater
Luke Zappia's avatar
Luke Zappia committed
[SCE]: https://github.com/drisso/SingleCellExperiment
[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
Luke Zappia's avatar
Luke Zappia committed
[paper]: http://dx.doi.org/10.1186/s13059-017-1305-0