Wherever the phrase exists, it is extracted. Convenient for list of dataframes in which we know the phrase occurs somewhere but we don't no the column, or don't care about preserving the source column name.

extract_matching_phrases_from_lists(things, phrase)

Arguments

things

Lists. Maybe lists of dataframes.

phrase

An anchor phrase. (maybe to fetch cell matching that from df). Can be character vector (multiple phrases).

Value

List matching the phrase

Examples

gene <-"NCBIGene:8314" homs <- bioentity_homologs(gene)$homologs evidence <- extract_matching_phrases_from_lists(homs$evidence_graph.nodes, 'evidence')
#> Warning: Unknown or uninitialised column: 'evidence_graph.nodes'.