tronco.bootstrap: tronco bootstrap

View source: R/tronco.R

tronco.bootstrapR Documentation

tronco bootstrap

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

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

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


BIMIB-DISCo/TRONCO documentation built on March 31, 2024, 9:20 p.m.