Skip to content

Commit

Permalink
Print r values in heatmaps
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxvandenBoom committed Feb 3, 2023
1 parent 54d92ec commit f4e4216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/makeFig1C_and_Fig3A_heatmaps.m
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
set(gca,'XTick',20:20:80,'YTick',[])
axis tight

strSign = [' (p\_fdr = ', num2str(all_p_fdr{iTr}{iSubTr}(iDir + 1)), ', n=', num2str(length(sortedCCEPs{iTr}{iSubTr}{iDir + 1}.age)), ')'];
strSign = [' (p\_fdr = ', num2str(all_p_fdr{iTr}{iSubTr}(iDir + 1)), ', n=', num2str(length(sortedCCEPs{iTr}{iSubTr}{iDir + 1}.age)), ', r=', num2str(all_r{iTr}{iSubTr}(iDir + 1)), ')'];
if all_p_fdr{iTr}{iSubTr}(iDir + 1) < .05, strSign = [strSign, ' *']; end
title([rois(iTr).tract_name, ' - ', strSubTitle, strSign]);

Expand Down

0 comments on commit f4e4216

Please sign in to comment.