Skip to contents

Check for TrEMBL IDs

Usage

is_trembl(uniprots, organism = 9606)

Arguments

uniprots

Character vector of UniProt IDs.

organism

Character or integer: name or identifier of the organism.

Value

Logical vector TRUE for TrEMBL IDs and FALSE for any other element.

Examples

is_trembl(c("Q05BL1", "A0A654IBU3", "P00533"))
#> [1]  TRUE  TRUE FALSE
# [1] TRUE TRUE FALSE