bootstrapResults: Bootstrapping variant fits

Description Usage Arguments Value Author(s) See Also Examples

View source: R/bootstrapResults.R

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

1
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

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

PureCN documentation built on Nov. 8, 2020, 5:37 p.m.