Generates original and bootstrapped segment-specific index sets, which can be used to calculate various bootstrap summaries, e.g. segment mean levels.
# S3 method for PairedPSCBS
getBootstrapLocusSets(fit, B=1000L, by=c("betaTN", "betaT"), seed=NULL, verbose=FALSE,
.validate=FALSE, ...)
Returns a list
.
A non-negative integer
specifying the number of bootstrap samples.
Should betaTN
or betaT
be used?
An (optional) integer
specifying the random seed to be
set before sampling indices. The random seed is set to its original
state when exiting. If NULL
, it is not set.
See Verbose
.
If TRUE
, additional sanity checks are performed
to validate the correctness. This is only needed for troubleshooting
if it is suspected there is a bug.
Not used.
Henrik Bengtsson
This is used internally by various bootstrap methods.