R/Methods.R
hasProteinData-EnsDb-method.RdDetermines whether the EnsDb
provides protein annotation data.
# S4 method for EnsDb
hasProteinData(x)The EnsDb object.
A logical of length one, TRUE if protein annotations are
available and FALSE otherwise.
library(EnsDb.Hsapiens.v86)
## Does this database/package have protein annotations?
hasProteinData(EnsDb.Hsapiens.v86)
#> [1] TRUE