function out=strainPicker(strainList,numStrains) %out=strainPicker(strainList,numStrains) %This function will randomly select which DGRP lines to test. To use, %pass it a list of the available strains to choose from, and %the number of strains that you want to pick (e.g. 10). %The output will be a list of the strain numbers to be tested. It will use %random selection with replacement, so look out for duplicates. index=randsample(length(strainList),numStrains); out=strainList(index,1); end