Coverage report: 87%

Files Functions Classes

coverage.py v7.8.0, created at 2025-05-09 10:41 +0200

File function statements missing excluded coverage
partipy/__init__.py (no function) 6 0 0 100%
partipy/arch.py AA.__init__ 37 6 0 84%
partipy/arch.py AA.fit 114 12 0 89%
partipy/arch.py AA.archetypes 1 1 0 0%
partipy/arch.py AA.transform 11 11 0 0%
partipy/arch.py AA.return_all 1 1 0 0%
partipy/arch.py (no function) 12 0 0 100%
partipy/const.py (no function) 9 0 0 100%
partipy/coreset.py construct_coreset 9 0 0 100%
partipy/coreset.py construct_lightweight_coreset 9 0 0 100%
partipy/coreset.py construct_uniform_coreset 0 0 6 100%
partipy/coreset.py (no function) 5 0 1 100%
partipy/enrichment.py compute_archetype_weights 21 2 0 90%
partipy/enrichment.py compute_archetype_expression 13 0 0 100%
partipy/enrichment.py extract_enriched_processes 18 0 0 100%
partipy/enrichment.py extract_specific_processes 14 0 0 100%
partipy/enrichment.py compute_meta_enrichment 29 1 0 97%
partipy/enrichment.py (no function) 10 0 0 100%
partipy/initialize.py _construct_B_from_indices 7 0 0 100%
partipy/initialize.py _init_A 5 0 0 100%
partipy/initialize.py _init_uniform 9 1 0 89%
partipy/initialize.py _init_furthest_sum 20 1 0 95%
partipy/initialize.py _init_plus_plus 19 1 0 95%
partipy/initialize.py (no function) 8 0 0 100%
partipy/optim.py _inspect_array 2 2 0 0%
partipy/optim.py _compute_RSS_AZ 0 0 5 100%
partipy/optim.py _compute_RSS_ABX 0 0 6 100%
partipy/optim.py _compute_A_regularized_nnls 5 0 0 100%
partipy/optim.py _compute_B_regularized_nnls 9 1 0 89%
partipy/optim.py _compute_A_projected_gradients 6 0 0 100%
partipy/optim.py _compute_A_projected_gradients_jit 0 0 43 100%
partipy/optim.py _compute_B_projected_gradients 9 0 0 100%
partipy/optim.py _compute_B_projected_gradients_jit 0 0 44 100%
partipy/optim.py _add_argmins_per_row 0 0 3 100%
partipy/optim.py _add_argmins_per_row_p 0 0 3 100%
partipy/optim.py _compute_A_frank_wolfe 6 0 0 100%
partipy/optim.py _compute_A_frank_wolfe_jit 0 0 36 100%
partipy/optim.py _compute_B_frank_wolfe 9 0 0 100%
partipy/optim.py _compute_B_frank_wolfe_jit 0 0 37 100%
partipy/optim.py (no function) 11 0 70 100%
partipy/paretoti.py set_obsm 8 3 0 62%
partipy/paretoti.py _validate_aa_config 16 5 0 69%
partipy/paretoti.py _validate_aa_results 2 0 0 100%
partipy/paretoti.py var_explained_aa 27 3 0 89%
partipy/paretoti.py var_explained_aa._compute_archeptyes 2 2 0 0%
partipy/paretoti.py bootstrap_aa 29 0 0 100%
partipy/paretoti.py bootstrap_aa.compute_bootstrap_z 1 1 0 0%
partipy/paretoti.py bootstrap_aa_multiple_k 12 2 0 83%
partipy/paretoti.py _project_on_affine_subspace 0 0 29 100%
partipy/paretoti.py _compute_t_ratio 0 0 30 100%
partipy/paretoti.py compute_t_ratio 0 0 26 100%
partipy/paretoti.py t_ratio_significance 0 0 47 100%
partipy/paretoti.py t_ratio_significance.compute_randomized_t_ratio 0 0 4 100%
partipy/paretoti.py t_ratio_significance_shuffled 0 0 47 100%
partipy/paretoti.py t_ratio_significance_shuffled.compute_randomized_t_ratio 0 0 5 100%
partipy/paretoti.py _align_archetypes 3 0 0 100%
partipy/paretoti.py compute_archetypes 23 4 0 83%
partipy/paretoti.py (no function) 20 0 5 100%
partipy/plotting.py plot_var_explained 7 0 0 100%
partipy/plotting.py plot_IC 6 2 0 67%
partipy/plotting.py plot_bootstrap_2D 8 2 0 75%
partipy/plotting.py plot_bootstrap_3D 6 1 0 83%
partipy/plotting.py plot_bootstrap_multiple_k 7 1 0 86%
partipy/plotting.py plot_archetypes_2D 9 0 0 100%
partipy/plotting.py plot_2D 42 16 0 62%
partipy/plotting.py plot_archetypes_3D 9 0 0 100%
partipy/plotting.py plot_3D 22 6 0 73%
partipy/plotting.py barplot_meta_enrichment 6 0 0 100%
partipy/plotting.py heatmap_meta_enrichment 4 0 0 100%
partipy/plotting.py barplot_functional_enrichment 9 1 0 89%
partipy/plotting.py barplot_enrichment_comparison 6 0 0 100%
partipy/plotting.py radarplot_meta_enrichment 8 0 0 100%
partipy/plotting.py radarplot_meta_enrichment.make_radar 17 0 0 100%
partipy/plotting.py (no function) 24 0 0 100%
partipy/selection.py _invert_SPD_mtx 4 0 0 100%
partipy/selection.py compute_IC_approx 9 9 0 0%
partipy/selection.py compute_IC 11 0 0 100%
partipy/selection.py (no function) 5 0 0 100%
partipy/simulate.py _generate_extreme_archetypes 24 13 0 46%
partipy/simulate.py _select_distant_vertices 11 1 0 91%
partipy/simulate.py simulate_archetypes 11 0 0 100%
partipy/simulate.py (no function) 5 0 0 100%
partipy/utils.py align_archetypes 4 0 0 100%
partipy/utils.py compute_rowwise_l2_distance 3 0 0 100%
partipy/utils.py compute_rowwise_l1_distance 3 3 0 0%
partipy/utils.py compute_relative_rowwise_l2_distance 4 0 0 100%
partipy/utils.py (no function) 7 0 0 100%
partipy/weights.py compute_bisquare_weights 9 1 0 89%
partipy/weights.py compute_huber_weights 11 1 0 91%
partipy/weights.py (no function) 3 0 0 100%
Total   901 117 447 87%

No items found using the specified filter.