R/id_mapping.R
is_swissprot.Rd
Check for SwissProt IDs
is_swissprot(uniprots, organism = 9606)
Character vector of UniProt IDs.
Character or integer: name or identifier of the organism.
Logical vector TRUE for SwissProt IDs and FALSE for any other element.
is_swissprot(c("Q05BL1", "A0A654IBU3", "P00533")) # [1] FALSE FALSE TRUE