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

bootstrapTCNandDHByRegion.PairedPSCBSR Documentation

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 positive 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 quantile function is used.

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

Returns a PairedPSCBS object.

Author(s)

Henrik Bengtsson


HenrikBengtsson/PSCBS documentation built on Feb. 20, 2024, 9:01 p.m.