bootstrapSE | R Documentation |
Perform a parametric bootstrap to get estimated standard errors.
bootstrapSE(
tab,
n_rep = 1000,
interval = c(0, 1),
tol = 0.000001,
check_boundary = FALSE,
cores = 1,
return_raw = FALSE
)
tab |
Dataset of read counts as 3d array of size 3x3x2, genotype in first sample x genotype in second sample x allele in read. |
n_rep |
Number of bootstrap replicates |
interval |
Interval to which each parameter should be constrained |
tol |
Tolerance for convergence |
check_boundary |
If TRUE, explicitly check the boundaries of |
cores |
Number of CPU cores to use, for parallel calculations.
(If |
return_raw |
If TRUE, return the raw results. If FALSE, just return the estimated standard errors. |
If return_raw=FALSE
, a vector of two standard errors. If
return_raw=TRUE
, an matrix of size n_rep
x 2 with the detailed
bootstrap results.
bootstrapNull()
data(mbmixdata)
# just 100 bootstrap replicates, as an illustration
bootstrapSE(mbmixdata, n_rep=100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.