get_annotations_uniprot: Create a data.frame with UniProt annotations corrresponding...

View source: R/pannot.R

get_annotations_uniprotR Documentation

Create a data.frame with UniProt annotations corrresponding to a set of UniProt IDs

Description

Create a data.frame with UniProt annotations corrresponding to a set of UniProt IDs

Usage

get_annotations_uniprot(
  id,
  sep = ";",
  columns = c("gene_names", "organism_id", "reviewed", "keyword", "protein_families",
    "go"),
  max_keys = 300,
  updateProgress = NULL,
  show_progress = TRUE
)

Arguments

id

Character vector with UniProt IDs

sep

Character separating different protein ids

columns

names of uniprot data columns to retrieve. Examples include "accession", keyword", "sequence", "go".

max_keys

maximum number of field items submitted

updateProgress

used to display progress in shiny apps

show_progress

Show progress bar

Value

a data.frame

Examples

id <- c("P26450", "O00459")
df <-  get_annotations_uniprot(id = id)

VoisinneG/pannot documentation built on July 5, 2023, 4:19 p.m.