Learn R Programming

PSCBS (version 0.67.0)

getBootstrapLocusSets.PairedPSCBS: Generates original and bootstrapped segment-specific index sets

Description

Generates original and bootstrapped segment-specific index sets, which can be used to calculate various bootstrap summaries, e.g. segment mean levels.

Usage

# S3 method for PairedPSCBS
getBootstrapLocusSets(fit, B=1000L, by=c("betaTN", "betaT"), seed=NULL, verbose=FALSE,
  .validate=FALSE, ...)

Value

Returns a list.

Arguments

B

A non-negative integer specifying the number of bootstrap samples.

by

Should betaTN or betaT be used?

seed

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.

verbose

See Verbose.

.validate

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.

Author

Henrik Bengtsson

See Also

This is used internally by various bootstrap methods.