Sometimes, we may want to use or inspect specified run result from sig_auto_extract. This function is designed for this purpose.

get_bayesian_result(run_info)

Arguments

run_info

a data.frame with 1 row and two necessary columns Run and file.

Value

a list.

Author

Shixiang Wang

Examples

load(system.file("extdata", "toy_copynumber_tally_W.RData",
  package = "sigminer", mustWork = TRUE
))

res <- sig_auto_extract(cn_tally_W$nmf_matrix, result_prefix = "Test_copynumber", nrun = 1)
#> Select Run 1, which K = 2 as best solution.

# All run info are stored in res$Raw$summary_run
# Obtain result of run 1
res_run1 <- get_bayesian_result(res$Raw$summary_run[1, ])