forked from pavelbrodskiy/EpiscaleAnalysis
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPoolData.m
More file actions
18 lines (14 loc) · 791 Bytes
/
PoolData.m
File metadata and controls
18 lines (14 loc) · 791 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
settings = prepareWorkspace;
[labels, metadata] = importData(settings);
% for i = 1:length(labels)
% disp(['Extracting number ' num2str(i) ' of ' num2str(length(labels))])
% data{i} = load(['Data' filesep labels{i} filesep 'T1Transitions.mat']);
% data2{i} = load(['Data' filesep labels{i} filesep 'dataFile.mat']);
% end
% save('AllData.mat','labels','data','data2')
mkdir('PooledData')
parfor i = 1:length(labels)
disp(['Copying number ' num2str(i) ' of ' num2str(length(labels))])
copyfile(['Data' filesep labels{i} filesep 'T1Transitions.mat'], ['PooledData' filesep labels{i}(strfind(labels{i},'/')+1:end) '_T1.mat']);
copyfile(['Data' filesep labels{i} filesep 'dataFile.mat'], ['PooledData' filesep labels{i}(strfind(labels{i},'/')+1:end) '_Raw.mat']);
end