Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions +nla/+net/+result/+plot/NetworkTestPlot.m
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,7 @@ function drawFigure(obj, plot_type)
end
obj.getPlotTitle();

switch obj.current_settings.mcc
case "Benjamini-Hochberg"
mcc = "BenjaminiHochberg";
case "Benjamini-Yekutieli"
mcc = "BenjaminiYekutieli";
otherwise
mcc = obj.current_settings.mcc;
end
mcc = obj.current_settings.(erase(mcc, "-"));

probability = NetworkTestResult().getPValueNames(obj.test_method, obj.network_test_result.test_name);

Expand Down
2 changes: 1 addition & 1 deletion +nla/+net/+result/NetworkResultPlotParameter.m
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

% Get the scale max and the labels
if isstring(fdr_correction) || ischar(fdr_correction)
fdr_correction = nla.net.mcc.(fdr_correction)();
fdr_correction = nla.net.mcc.(erase(fdr_correction, "-"))();
end
p_value_max = fdr_correction.correct(obj.network_atlas, obj.updated_test_options, statistic_input);
p_value_breakdown_label = fdr_correction.createLabel(obj.network_atlas, obj.updated_test_options,...
Expand Down
Loading