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

Description Usage Arguments Value Author(s)

Description

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

Usage

1
2
3
4
## 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 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


PSCBS documentation built on May 6, 2019, 1:05 a.m.