From 4422f9dd30241e46643b4dcb0875c9c8ad74c30e Mon Sep 17 00:00:00 2001 From: Vincent Danjean <Vincent.Danjean@ens-lyon.org> Date: Wed, 31 Oct 2012 15:47:00 +0000 Subject: [PATCH] Use Chi2 resampling accelerator... git-svn-id: svn+ssh://imag/users/huron/danjean/svnroot/claire/altree/trunk@462 cf695345-040a-0410-a956-b889e835fe2e --- progs/altree | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/progs/altree b/progs/altree index f1725b1..f9416b5 100755 --- a/progs/altree +++ b/progs/altree @@ -705,7 +705,13 @@ sub RepeatAssociation $prolonge, $sign_util); push @{$ligne_stats}, @{$res}; } - + } + my $resamp=ALTree::CUtils::ResamplingChi2( + $leaf_refs, $leaf_depth, $leaf_parent, $nleaf_parent, + $max_depth, $prolonge, $nb_permutation + ); + $ligne_stats=$resamp->{"chi2s"}; + $corrected_values=ALTree::CUtils::DoublePermutation ($nb_permutation+1, $value_per_line, $ligne_stats); -- GitLab