% 2021-01-12
% given ref (a string containing exact genotype) and combinedSummit (struct
% containing all of quantified summit data), find index number that
% corresponds to ref
% 
% For example: ref = "Cs WF", will look in combinedSummit.geno for a match
% and return matching index (e.g. refNum = 41)

function refNum = findGeno(genoCellArray,refGeno)
    try
        nums = 1:length(genoCellArray);
        refNum = nums(strcmp(string(genoCellArray),refGeno));   
    catch
        refNum = 0;
    end
end