Added source Matlab code for reference
This commit is contained in:
parent
b8af977117
commit
b5d99903d2
186 changed files with 61405 additions and 1 deletions
26
matlab/linkage/askSeq.m
Normal file
26
matlab/linkage/askSeq.m
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
function [isOK,returnvalue] = askSeq()
|
||||
|
||||
items(1).name = 'Yes. Continue loading the sequence profile.';
|
||||
items(1).default = 1;
|
||||
items(1).exclusive = [2];
|
||||
items(1).values = [];
|
||||
|
||||
items(2).name = 'No. Stop loading data.';
|
||||
items(2).default = 0;
|
||||
items(2).exclusive = [1];
|
||||
items(2).values = [];
|
||||
|
||||
title = 'Load Sequence?';
|
||||
msg = sprintf(['The allelic profile has been loaded.\nWould you like to continue loading the corresponding gene sequence data?']);
|
||||
out = CSEFlagDialog(items, title, msg);
|
||||
if ~(isempty(out)),
|
||||
if(out(1).answer==1)
|
||||
returnvalue = 1;
|
||||
elseif(out(2).answer==1)
|
||||
returnvalue = 2;
|
||||
end
|
||||
isOK = 1;
|
||||
else
|
||||
isOK = 0;
|
||||
returnvalue = 0;
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue