all_uniprots: A table with all UniProt records

View source: R/uniprot.R

all_uniprotsR Documentation

A table with all UniProt records

Description

Retrieves a table from UniProt with all proteins for a certain organism.

Usage

all_uniprots(fields = "accession", reviewed = TRUE, organism = 9606L)

Arguments

fields

Character vector of fields as defined by UniProt. For possible values please refer to https://www.uniprot.org/help/return_fields

reviewed

Retrieve only reviewed ('TRUE'), only unreviewed ('FALSE') or both ('NULL').

organism

Character or integer: name or identifier of the organism.

Value

Data frame (tibble) with the requested UniProt entries and fields.

Examples

human_swissprot_entries <- all_uniprots(fields = 'id')
human_swissprot_entries
# # A tibble: 20,396 x 1
#    `Entry name`
#    <chr>
#  1 OR4K3_HUMAN
#  2 O52A1_HUMAN
#  3 O2AG1_HUMAN
#  4 O10S1_HUMAN
#  5 O11G2_HUMAN
# # . with 20,386 more rows

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