Estimate confidence intervals of TCN and DH segment levels using bootstrap.
# S3 method for PairedPSCBS
bootstrapTCNandDHByRegion(fit, B=1000L, boot=NULL, ..., probs=c(0.025, 0.05, 0.95,
0.975), statsFcn=NULL, what=c("segment", "changepoint"), force=FALSE, verbose=FALSE,
.debug=FALSE)
Returns a PairedPSCBS
object.
A positive integer
specifying the number of bootstrap samples.
Alternatively, to generating B
bootstrap samples,
this specifies a pre-generated set of bootstrap samples as
returned by bootstrapSegmentsAndChangepoints()
.
Additional arguments passed to bootstrapSegmentsAndChangepoints()
.
The default quantiles to be estimated.
A (optional) function
that estimates confidence
intervals given locus-level data.
If NULL
, the quantile
function is used.
If TRUE
, already existing estimates are ignored,
otherwise not.
See Verbose
.
(internal) If TRUE
, additional sanity checks are
performed internally.
Henrik Bengtsson