diff --git a/main.m b/main.m index bdc9643..397b850 100644 --- a/main.m +++ b/main.m @@ -1,7 +1,6 @@ %% load and prepare all single tiffs %importing [data_g, data_r] = CellSortLoadSingleFiles('ChanA_*_*.tif', 'ChanB_*_*.tif'); -% [data_g, data_r] = CellSortLoadSingleFiles('ChanA_*_*.tif', 'ChanB_*_*.tif', data_g, data_r); %% matVis matVis(data_r); %% get ref frame for shift correction @@ -18,20 +17,13 @@ fn = 'processedData.mat'; save(fn, 'data_g', 'data_r', '-v7.3'); -% fn_green = 'green.tiff'; -% fn_red = 'red.tiff'; -% CellSortExportTifStack(data_g, fn_green); -% CellSortExportTifStack(data_r, fn_red); %% load files %if you haven't used the shiftCorrection you have to load the already processed files fn_green = 'processedData.mat'; load(fn); -% fn_green = 'green.tiff'; -% fn_red = 'red.tiff'; -% data_g = readTiff(fn_green); -% data_r = readTiff(fn_red); %% 1. PCA %calculate PCAs +fn_green = 'processedData.mat'; nPCs = 100; flims = []; dSamp = [1 1]; %temporal, spatial downsampling