is_swissprot: Check for SwissProt IDs

is_swissprotR Documentation

Check for SwissProt IDs

Description

Check for SwissProt IDs

Usage

is_swissprot(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 SwissProt IDs and FALSE for any other element.

Examples

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


saezlab/OmnipathR documentation built on Oct. 16, 2024, 11:49 a.m.