Description Usage Arguments Details Value Examples
Samples from the posterior distribution output by SAVER.
1 | sample.saver(x, rep = 1, efficiency.known = FALSE, seed = NULL)
|
x |
A |
rep |
Number of sampled datasets. Default is 1. |
efficiency.known |
Whether the efficiency is known. Default is
|
seed |
seed used in |
The SAVER method outputs a posterior distribution, which we can sample from for downstream analysis. The posterior distribution accounts for uncertainty in the SAVER estimation procedure. If the efficiency is known, negative binomial sampling is performed; otherwise, gamma sampling is performed.
A matrix of expression values sampled from SAVER posterior. If
rep
> 1, a list of matrices is returned
1 2 3 | data("linnarsson_saver")
samp1 <- sample.saver(linnarsson_saver, seed = 50)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.