rtab | R Documentation |
Sample Cell Type Table
rtab(scan, om, elt = length(scan), tol = 0.001, impute.unseen = TRUE)
scan |
the object produced by |
om |
a filtration matrix such as made by |
elt |
which element of the scan to use in sampling. |
tol |
lower limit on probability of observing a clone |
impute.unseen |
if |
Given the ctScan
fit of a dataset, create a sample table
from the posterior.
table of counts
Charles Berry
ascan <- list() ascan$dataToEta <- rep(1:7,each=3) ascan$dataToLambda <- rep(1:3, 7) ascan$lambda <- c( 1.0, 5.0, 20.0) ascan$eta <- cbind( diag(3) * 0.7 + 0.1, 1/3, -0.3 * diag(3)+0.4) ascan <- list( ascan ) om <- diag(9:7)/10 + 0.025 atab <- rtab(ascan, om)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.