tronco.bootstrap: tronco bootstrap

Description Usage Arguments Value Examples

View source: R/tronco.R

Description

Bootstrap a reconstructed progression model. For details and examples regarding the statistical assesment of an inferred model, we refer to the Vignette Section 7.

Usage

1
2
3
4
5
6
7
tronco.bootstrap(
  reconstruction,
  type = "non-parametric",
  nboot = 100,
  cores.ratio = 1,
  silent = FALSE
)

Arguments

reconstruction

The output of tronco.capri or tronco.caprese

type

Parameter to define the type of sampling to be performed, e.g., non-parametric for uniform sampling.

nboot

Number of bootstrap sampling to be performed when estimating the model confidence.

cores.ratio

Percentage of cores to use coresRate * (numCores - 1)

silent

A parameter to disable/enable verbose messages.

Value

A TRONCO compliant object with reconstructed model

Examples

1
2
data(test_model)
boot = tronco.bootstrap(test_model, nboot = 1, cores.ratio = 0)

TRONCO documentation built on Nov. 8, 2020, 5:51 p.m.