Reconstruct a progression model using CAPRI algorithm. For details and examples regarding the inference process and on the algorithm implemented in the package, we refer to the Vignette Section 6.
tronco.capri(
data,
command = "hc",
regularization = c("bic", "aic"),
do.boot = TRUE,
nboot = 100,
pvalue = 0.05,
min.boot = 3,
min.stat = TRUE,
boot.seed = NULL,
silent = FALSE,
epos = 0,
eneg = 0,
restart = 100
)
A TRONCO compliant dataset.
Parameter to define to heuristic search to be performed. Hill Climbing and Tabu search are currently available.
Select the regularization for the likelihood estimation, e.g., BIC, AIC.
A parameter to disable/enable the estimation of the error rates give the reconstructed model.
Number of bootstrap sampling (with rejection) to be performed when estimating the selective advantage scores.
Pvalue to accept/reject the valid selective advantage relations.
Minimum number of bootstrap sampling to be performed.
A parameter to disable/enable the minimum number of bootstrap sampling required besides nboot if any sampling is rejected.
Initial seed for the bootstrap random sampling.
A parameter to disable/enable verbose messages.
Error rate of false positive errors.
Error rate of false negative errors.
An integer, the number of random restarts.
A TRONCO compliant object with reconstructed model
data(test_dataset)
recon = tronco.capri(test_dataset, nboot = 1)
#> *** Checking input events.
#> *** Inferring a progression model with the following settings.
#> Dataset size: n = 40, m = 30.
#> Algorithm: CAPRI with "bic, aic" regularization and "hc" likelihood-fit strategy.
#> Random seed: NULL.
#> Bootstrap iterations (Wilcoxon): 1.
#> exhaustive bootstrap: TRUE.
#> p-value: 0.05.
#> minimum bootstrapped scores: 3.
#> *** Bootstraping selective advantage scores (prima facie).
#> ............
#> Evaluating "temporal priority" (Wilcoxon, p-value 0.05)
#> Evaluating "probability raising" (Wilcoxon, p-value 0.05)
#> *** Loop detection found loops to break.
#> Removed 7 edges out of 52 (13%)
#> *** Performing likelihood-fit with regularization bic.
#> *** Performing likelihood-fit with regularization aic.
#> *** Evaluating BIC / AIC / LogLik informations.
#> The reconstruction has been successfully completed in 00h:00m:01s