BASiCS_Draw | R Documentation |
BASiCS_Draw
creates a simulated dataset from the
posterior of a fitted model implemented in BASiCS.
BASiCS_Draw(
Chain,
BatchInfo = gsub(".*_Batch([0-9a-zA-Z])", "\\1", colnames(Chain@parameters[["nu"]])),
N = sample(nrow(Chain@parameters[["nu"]]), 1)
)
Chain |
An object of class |
BatchInfo |
Vector of batch information from the SingleCellExperiment object used as input to BASiCS_MCMC. |
N |
The integer index for the draw to be used to sample from the posterior predictive distribution. If not supplied, a random value is chosen. |
An object of class SingleCellExperiment
,
including synthetic data generated by the model implemented in BASiCS.
Alan O'Callaghan
Vallejos, Marioni and Richardson (2015). PLoS Computational Biology.
data(ChainSC)
BASiCS_Draw(ChainSC)
data(ChainSC)
BASiCS_Draw(ChainSC)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.