bootstrapResults: Bootstrapping variant fits

View source: R/bootstrapResults.R

bootstrapResultsR Documentation

Bootstrapping variant fits

Description

This function bootstraps variants, then optionally re-ranks solutions by using the bootstrap estimate of the likelihood score, and then optionally removes solutions that never ranked high in any bootstrap replicate.

Usage

bootstrapResults(res, n = 500, top = NULL, reorder = FALSE)

Arguments

res

Return object of the runAbsoluteCN function.

n

Number of bootstrap replicates.

top

Include solution if it appears in the top n solutions of any bootstrap replicate. If NULL, do not filter solutions.

reorder

Reorder results by bootstrap value.

Value

Returns a runAbsoluteCN object with added bootstrap value to each solution. This value is the fraction of bootstrap replicates in which the solution ranked first.

Author(s)

Markus Riester

See Also

runAbsoluteCN

Examples


data(purecn.example.output)
ret.boot <- bootstrapResults(purecn.example.output, n=100)
plotAbs(ret.boot, type="overview")


lima1/PureCN documentation built on April 24, 2024, 8:23 p.m.