Skip to contents

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

Usage

all_uniprots(fields = "id", reviewed = TRUE, organism = 9606)

Arguments

fields

Character vector of fields as defined by UniProt. For possible values please refer to https://www.uniprot.org/help/uniprotkb%5Fcolumn%5Fnames

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 = 'entry name')
human_swissprot_entries
#> # A tibble: 20,404 × 1
#>    `Entry name`
#>    <chr>       
#>  1 S45A3_HUMAN 
#>  2 S12A4_HUMAN 
#>  3 S20A2_HUMAN 
#>  4 SC24D_HUMAN 
#>  5 S66A2_HUMAN 
#>  6 S7A6O_HUMAN 
#>  7 SC6A3_HUMAN 
#>  8 SCRT2_HUMAN 
#>  9 SDF1_HUMAN  
#> 10 SETB1_HUMAN 
#> # … with 20,394 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