ask_uniprot: fetch known subcellular location from UniprotKB based on...

Description Usage Arguments Value Examples

View source: R/ask_uniprot.R

Description

fetch known subcellular location from UniprotKB based on uniprot ids

Usage

1
ask_uniprot(uniprotID_list)

Arguments

uniprotID_list

a list of uniprot IDs

Value

a list of locations

Examples

1
2
3
4
5
id_list <- c('P39864', 'D0N4E2', 'Q5BUB4', 'D0N381', 'B1NNT7', 'D0NP26')
res <- ask_uniprot(id_list)
#try submitting a list containing some non-existing UniprotIDs:
bad_list <- c('P39864', 'D0N4E2', 'Q5BUB4', 'D0N381', 'B1NNT7', 'D0NP2688', 'D0N4E2222')
res2 <- ask_uniprot(bad_list)

gogleva/SecretSanta documentation built on May 30, 2019, 8:02 a.m.