Skip to contents

Pairwise ID translation table from RaMP database

Usage

ramp_id_mapping_table(from, to, version = "2.5.4")

Arguments

from

Character or Symbol. Name of an identifier type.

to

Character or Symbol. Name of an identifier type.

version

Character. The version of RaMP to download.

Value

Dataframe of pairs of identifiers.

Examples

ramp_id_mapping_table('hmdb', 'kegg')
#> # A tibble: 14,492 × 2
#>    From        To    
#>    <chr>       <chr> 
#>  1 HMDB0000001 C01152
#>  2 HMDB0000479 C01152
#>  3 HMDB00001   C01152
#>  4 HMDB0004935 C01152
#>  5 HMDB0006703 C01152
#>  6 HMDB0006704 C01152
#>  7 HMDB04935   C01152
#>  8 HMDB06703   C01152
#>  9 HMDB06704   C01152
#> 10 HMDB00479   C01152
#> # ℹ 14,482 more rows