Skip to contents

Retain only SwissProt IDs

Usage

swissprots_only(uniprots, organism = 9606)

Arguments

uniprots

Character vector of UniProt IDs.

organism

Character or integer: name or identifier of the organism.

Value

Character vector with only SwissProt IDs.

Examples

swissprots_only(c("Q05BL1", "A0A654IBU3", "P00533"))
#> [1] "P00533"
# [1] "P00533"