Learn R Programming

PSCBS (version 0.45.1)

bootstrapTCNandDHByRegion.PairedPSCBS: Estimate confidence intervals of TCN and DH segment levels

Description

Estimate confidence intervals of TCN and DH segment levels using bootstrap.

Usage

## S3 method for class '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)

Arguments

B
A postive integer specifying the number of bootstrap samples.
boot
Alternatively, to generating B bootstrap samples, this specifies a pre-generated set of bootstrap samples as returned by bootstrapSegmentsAndChangepoints().
...
Additional arguments passed to bootstrapSegmentsAndChangepoints().
probs
The default quantiles to be estimated.
statsFcn
A (optional) function that estimates confidence intervals given locus-level data. If NULL, the qu
what
A character vector specifying what to bootstrap.
force
If TRUE, already existing estimates are ignored, otherwise not.
verbose
See Verbose.
.debug
(internal) If TRUE, additional sanity checks are performed internally.

Value