Skip to contents

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,426 × 1
#>    `Entry Name`
#>    <chr>       
#>  1 CP2D7_HUMAN 
#>  2 PIOS1_HUMAN 
#>  3 SIK1B_HUMAN 
#>  4 MOTSC_HUMAN 
#>  5 CD3CH_HUMAN 
#>  6 NBDY_HUMAN  
#>  7 CIROP_HUMAN 
#>  8 S12A8_HUMAN 
#>  9 RBM47_HUMAN 
#> 10 IFT56_HUMAN 
#> # ℹ 20,416 more rows
# # 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