some fields of interest are lists, and grep per se should not be used – this function checks and uses grep within vapply when appropriate
Source:R/fastGrep.R
fastGrep.Rd
some fields of interest are lists, and grep per se should not be used – this function checks and uses grep within vapply when appropriate
Examples
cheb = getOnto("chebi_lite")
#> loading from cache
ind = fastGrep("tanespimycin", cheb, "name")
cheb$name[ind]
#> CHEBI:64153
#> "tanespimycin"