Usage
bootstrap.tcr(.data, .fun = entropy.seg, .n = 1000, .size = nrow(.data),
.sim = c("uniform", "percentage"), .postfun = function(x) { unlist(x)
}, .verbose = T, .prop.col = "Read.proportion", ...)
Arguments
.fun
Function applied to each sample.
.n
Number of iterations (i.e., size of a resulting distribution).
.size
Size of samples. For .sim
== "uniform" stands for number of rows to take.
For .sim
== "percentage" stands for number of barcodes / read counts to take.
.sim
A character string indicating the type of simulation required. Possible values are
"uniform" or "percentage". See "Details" for more details of type of simulation.
.postfun
Function applied to the resulting list: list of results from each processed sample.
.verbose
If T than show progress bar.
.prop.col
Column with proportions for each clonotype.
...
Further values passed to .fun
.