Skip to content

Commit

Permalink
Add sample sizes to EC classes
Browse files Browse the repository at this point in the history
  • Loading branch information
pwendering committed Feb 24, 2023
1 parent 750cf4c commit 6c2c8dd
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Program/plot_delta_va.m
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@
for i=1:numel(u_ec_class)
X = kcat_tab.Var4(strcmp(ec_class,u_ec_class{i}));

u_ec_class{i} = [u_ec_class{i} ' (n=' num2str(numel(X)) ')'];

% get interquartile range
p = prctile(X,[25 75]);

Expand Down Expand Up @@ -282,10 +284,11 @@
% )

fprintf(...
'Median (+/- sd) %s: %g (+/- %g) /s\n',...
'Median (+/- sd) %s: %g (+/- %g) (n=%d)/s\n',...
u_ec_class{i},...
median(X,'omitnan'),...
std(X,'omitnan')...
std(X,'omitnan'),...
numel(X)...
)
end
hold off
Expand All @@ -295,7 +298,7 @@
xtickangle(90)
ylim(y_limits)
ylabel(...
'log_{10} k_{cat}',...
'log_{10} k_{cat} [s^{-1}]',...
'FontSize',14 ...
)
set(gca,...
Expand Down

0 comments on commit 6c2c8dd

Please sign in to comment.