From f4e421642d6f4c2b7586c7f8105c2c76fe18ed8f Mon Sep 17 00:00:00 2001 From: MaxvandenBoom Date: Fri, 3 Feb 2023 11:33:11 -0600 Subject: [PATCH] Print r values in heatmaps --- scripts/makeFig1C_and_Fig3A_heatmaps.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/makeFig1C_and_Fig3A_heatmaps.m b/scripts/makeFig1C_and_Fig3A_heatmaps.m index 26b5245..fc54d27 100644 --- a/scripts/makeFig1C_and_Fig3A_heatmaps.m +++ b/scripts/makeFig1C_and_Fig3A_heatmaps.m @@ -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]);