Determines whether the EnsDb provides protein annotation data.

# S4 method for EnsDb
hasProteinData(x)

Arguments

x

The EnsDb object.

Value

A logical of length one, TRUE if protein annotations are available and FALSE otherwise.

See also

Author

Johannes Rainer

Examples

library(EnsDb.Hsapiens.v86)
## Does this database/package have protein annotations?
hasProteinData(EnsDb.Hsapiens.v86)
#> [1] TRUE