We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50fbed2 commit 50c6773Copy full SHA for 50c6773
2 files changed
+nla/+net/+mcc/HolmBonferroni.m
@@ -5,8 +5,8 @@
5
6
methods
7
function p_max = correct(obj, net_atlas, input_struct, prob)
8
- [~, adjusted_pvals, ~] = nla.lib.bonferroni_holm(prob.v);
9
- p_max = max(adjusted_pvals);
+ [is_significant, adjusted_pvals, ~] = nla.lib.bonferroni_holm(prob.v, input_struct.prob_max);
+ p_max = max(is_significant .* adjusted_pvals);
10
end
11
function correction_label = createLabel(obj, net_atlas, input_struct, prob)
12
p_max = obj.correct(net_atlas, input_struct, prob);
+nla/+net/+result/+plot/NetworkTestPlotApp.mlapp
124 Bytes
0 commit comments