Learn R Programming

BASiCS (version 0.3.1)

makeExampleBASiCS_Data: Create a simple example of a BASiCS_Data object with random data

Description

A simple BASiCS_Data-class object is generated by simulating a dataset from the model in BASiCS (Vallejos et al 2015). This is used for the examples in the package and the vignette.

Usage

makeExampleBASiCS_Data(WithBatch = FALSE)

Arguments

WithBatch

If true, 2 batches are generated (each of them containing 10 cells)

Value

An object of class BASiCS_Data-class, simulated from the model implemented in BASiCS. It contains 120 genes (100 biological and 20 spike-in) and 20 cells.

References

Vallejos, Marioni and Richardson (2015). Bayesian Analysis of Single-Cell Sequencing data.

Examples

Run this code
# NOT RUN {
Data = makeExampleBASiCS_Data()
is(Data, "BASiCS_Data")
# }

Run the code above in your browser using DataLab