function [o2stack,o3stack]=snp_data_loader
%description: changes to directory with the variables, loads them as listed in snp_datafile_variables, creates stacks, steps up to parent directory

cd ~/dwn_research/jhh_projects_dwn/snp_glioma_project/BAR_LRR_Gtypedata/

[o2,o3]=snp_datafile_variables;

o2stack=[];
for i=1:size(o2,1)
    aa=load(o2{i});
    o2stack=cat(3,o2stack,aa);    
end

o3stack=[];
for j=1:size(o3,1)
    bb=load(o3{j});
    o3stack=cat(3,o3stack,bb);
end

cd ..