function for filtering results per condition
pubmed function