
Get the ICA component data (stability, convergence, redundancy)
get_ica_stability_res.RdGetter function to extract the ICA component data in terms of stability,
convergence and maximum absolute correlation between the component loadings
(max_abs_loading_cor). If not
found will return NULL.
Arguments
- object
The class, see
BulkCoExp().
Examples
# the stability table behind the ncomp choice
mat <- t(synthetic_signal_matrix()$mat)
obj <- BulkCoExp(mat, data.table::data.table(sample_id = rownames(mat)))
obj <- preprocess_bulk_coexp(obj, hvg = 0.3, .verbose = FALSE)
obj <- ica_processing(obj, .verbose = FALSE)
obj <- ica_evaluate_comp(
obj,
ica_type = "logcosh",
ncomp_params = params_ica_ncomp(custom_seq = seq(2L, 20L, by = 2L)),
.verbose = FALSE
)
head(get_ica_stability_res(obj))
#> Key: <no_components>
#> no_components median_stability UQ_stability LQ_stability converged
#> <int> <num> <num> <num> <num>
#> 1: 2 0.3341118 0.3371207 0.3311030 1.00
#> 2: 4 0.5896017 0.6422570 0.5311256 1.00
#> 3: 6 0.6289777 0.6478014 0.5436617 0.34
#> 4: 8 0.4283203 0.5387618 0.3258563 0.00
#> 5: 10 0.6337172 0.7506973 0.4964900 0.58
#> 6: 12 0.5277328 0.6438361 0.3766647 0.28
#> max_abs_loading_cor combined_score
#> <num> <num>
#> 1: 0.01698197 0.32843795
#> 2: 0.62200673 0.22286546
#> 3: 0.75415666 0.05257419
#> 4: 0.92597301 0.00000000
#> 5: 0.67496520 0.11946849
#> 6: 0.84691161 0.02262114