-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfdb_replace_names.m
More file actions
25 lines (20 loc) · 815 Bytes
/
fdb_replace_names.m
File metadata and controls
25 lines (20 loc) · 815 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
function names = fdb_replace_names(names)
pat = {'Bachmann_MSB2011','Bachmann';
'Becker_Science2010','Becker';
'Beer_MolBiosyst2014','Beer';
'Boehm_JProteomeRes2014','Boehm';
'Bruno_Carotines_JExpBio2016','Bruno';
'Oxygen_Metabolic_Rates_2016','Oxygen';
'Raia_CancerResearch2011','Raia';
'Reelin_PONE2017','Reelin';
'Swameye_PNAS2003','Swameye';
'Toensing_InfectiousDisease_BoardingSchool_2017','BordingSchool';
'Toensing_InfectiousDisease_Zika_2017','Zika';
'Merkle_JAK2STAT5_PCB2016_CFUE','Merkle_CFUE';
'Merkle_JAK2STAT5_PCB2016_CFUEH838','Merkle_CFUE+H838';
'Schwen_InsulinMouseHepatocytes_PlosOne2014','Schwen'};
for i=1:size(pat,1)
names = strrep(names,pat{i,1},pat{i,2});
end
names = str2fieldname(names);
names = regexprep(names,'^f_','Model_');