-
Notifications
You must be signed in to change notification settings - Fork 17
1. Quick start
Catalina Vallejos edited this page Oct 11, 2017
·
8 revisions
This page illustrates the usage of BASiCS based on a built-in data example. This consists of a SingleCellExperiment
object that already contains all the necessary information. See here for input preparation instructions.
Data <- makeExampleBASiCS_Data()
Parameter estimation is performed using the BASiCS_MCMC
function. Essential parameters for running this algorithm are:
-
N
: total number of iterations -
Thin
: length of the thining period (i.e. only everyThin
iterations will be stored in the output of theBASiCS_MCMC
) -
Burn
: length of burn-in period (i.e. the initialBurn
iterations that will be discarded from the output of theBASiCS_MCMC
)
If the optional parameter PrintProgress
is set to TRUE
, the R console will display the progress of the MCMC algorithm. For other optional parameters refer to help(BASiCS_MCMC)
.
Chain <- BASiCS_MCMC(Data = Data, N = 20000, Thin = 20, Burn = 10000,
PrintProgress = FALSE)
Once the MCMC sampler has run, it is important to assess the convergence of the chain.