Code covered by the BSD License  

Highlights from
FRETSCAL

image thumbnail

FRETSCAL

by

 

For the FRET analysis of images of yeast cells labeled with YFP and CFP.

walkthru
function walkthru
%Version 4/3/09 Throws up the summary splash screen for the walkthrough
%and asks if you want to proceed. 
global dirsep initialfile culledfile inspectedfile 
global initials culls fontpics inputdirectory outputdirectory
global string1 string2 string3 string4 lightgreen

x = .25; y = .4; w = .5; h = .4; spacing = .1;
h_walkthru = figure('Color', lightgreen, 'units', 'normalized', 'menubar', 'none', 'ToolBar', 'none', ...
                 'name', 'Inspect AOIs', 'NumberTitle', 'off', 'position', [ x y w h ], 'resize', 'off' );
%string0 = sprintf( 'Input directory is %s',inputdirectory); 
string1 = sprintf( 'Output directory is %s%s%s',inputdirectory, dirsep, outputdirectory); 
string2 = sprintf( 'The file with the results from the search is %s. There were %d AOIs.',initialfile,initials); 
string3 = sprintf( 'The culling results are in %s. There were %d AOIs.',culledfile,culls); 
string4 = sprintf( 'Data from the AOIs chosen during this inspection will be in %s.', inspectedfile ); 
% h_walkthru_stext = uicontrol( h_walkthru, 'units', 'normalized', 'style', 'text', ...
%                          'string', string0, 'position', [ 0 1-1*spacing   1 spacing ], 'background',lightgreen,'fontsize', fontpics ); 
h_walkthru_stext = uicontrol( h_walkthru, 'units', 'normalized', 'style', 'text', ...
                         'string', string1, 'position', [ 0 1-1.1*spacing   1 spacing ],'background',lightgreen, 'fontsize', fontpics ); 
h_walkthru_stext = uicontrol( h_walkthru, 'units', 'normalized', 'style', 'text', ...
                         'string', string2, 'position', [ 0 1-3*spacing   1 spacing ], 'background',lightgreen,'fontsize', fontpics ); 
h_walkthru_stext = uicontrol( h_walkthru, 'units', 'normalized', 'style', 'text', ...
                         'string', string3, 'position', [ 0 1-5*spacing   1 spacing ],'background',lightgreen, 'fontsize', fontpics ); 
h_walkthru_stext = uicontrol( h_walkthru, 'units', 'normalized', 'style', 'text', ...
                         'string', string4, 'position', [ 0 1-7*spacing   1 spacing ],'background',lightgreen, 'fontsize', fontpics ); 
uicontrol( h_walkthru, 'style','pushbutton', 'units', 'normalized', 'string','Inspect AOIs',...
            'position',[ .1 1-9*spacing .3 spacing ], 'callback', 'close(gcf);walkthru_callback;fupdate', 'fontsize', fontpics );
uicontrol( h_walkthru, 'style','pushbutton', 'units', 'normalized', 'string','Cancel',...
            'position',[ .6 1-9*spacing .3 spacing ], 'callback', 'close(gcf)', 'fontsize', fontpics );

Contact us