Create a data frame representation of a TINC fit, reporting the most relevant information of the data and model fit.

to_string(x)

Arguments

x

A TINC fit.

Value

A dataframe.

Examples

data(fit_example, package = 'TINC')
to_string(fit_example)
#>          TIN       TIT     TIN_rf    TIT_rf n_mutations_total
#> 1 0.06871154 0.7833189 0.06871154 0.7833189               985
#>   n_mutations_clonal clonal_cluster latentvar_clonal_cutoff betas_mobster
#> 1                714             C1                    0.75             1
#>   tail_mobster K_mobster n_binomial_clusters_bmix n_binomial_clusters_viber
#> 1            1         2                        1                         2
#>   binomial_peaks_bmix params_VAF_range_tumour params_cutoff_miscalled_clonal
#> 1  0.0343557710236808                   0:0.7                            0.6
#>   params_cutoff_lv_assignment params_cutoff_lv_assignment_dynamic params_N
#> 1                        0.75                               FALSE    20000
#>   params_FAST
#> 1        TRUE
#>                                                                                                  cna_params_used_chromosomes
#> 1 chr21:chr13:chr15:chr9:chr6:chr1:chr19:chr4:chr16:chr7:chr20:chr11:chr8:chr14:chr18:chr5:chr3:chr10:chr22:chr12:chr17:chr2
#>   cna_params_karyotype cna_params_ploidy
#> 1                  1:1                 2