A local health department is investigating an outbreak of severe gastroenteritis linked to a batch of contaminated spinach. Several patients have been diagnosed with EHEC infections. Which of the following is the most effective method for laboratory confirmation of EHEC in these cases?