-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsynapto_pooled_results_plot.m
executable file
·29 lines (20 loc) · 1.12 KB
/
synapto_pooled_results_plot.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
% Script to plot the comparison between synaptosome conditions using the
% output file from script compare_conditions.m
% 15/01/2019
% Import .csv file with results_combined_pooled after manual deletion of
% outliers
repeats = {'A','B'}; %,'Oct-Nov'};
output_dir = fullfile('E:\Experiments\synaptosomes\analysis_20190107\37C_results_thresh30\Results_combined');
magnification = 10;
flagprint = 1; % set to 1 to save the fig visualization of the results
%% Write away pooled results from all the repeats in a new folder
results_pooled = resultscombinedpooledtrimmed;
% Create new output folder
path_output = fullfile(output_dir,'Results_combined_pooled_culled');
mkdir(path_output);
% Split results table into conditions (for convenience when plotting)
results_PHYS = results_pooled(strcmp(results_pooled.condition,'phys'),:);
results_EGTA = results_pooled(strcmp(results_pooled.condition,'egta'),:);
results_EGTAK = results_pooled(strcmp(results_pooled.condition,'egtak'),:);
% Plot all results
plotResults(path_output,results_PHYS,results_EGTA,results_EGTAK,magnification,flagprint)