Set the HGNC TSV file to use for import_hgnc_dataset()
.
Defaults to the latest_archive_url()
, but can also use latest_monthly_url()
or latest_quarterly_url()
`
Source: R/options.R
use_hgnc_file.Rd
Set the HGNC TSV file to use for import_hgnc_dataset()
.
Defaults to the latest_archive_url()
, but can also use latest_monthly_url()
or latest_quarterly_url()
`
Usage
use_hgnc_file(file = latest_archive_url())
Examples
# use the default file given by import_hgnc_dataset()
use_hgnc_file()
#> using hgnc file: https://ftp.ebi.ac.uk/pub/databases/genenames/hgnc/tsv/hgnc_complete_set.txt
# use to the latest monthly release
use_hgnc_file(file = latest_monthly_url())
#> using hgnc file: https://ftp.ebi.ac.uk/pub/databases/genenames/hgnc/archive/monthly/tsv/hgnc_complete_set_2023-10-01.txt
# use a predefined release for reproducibility
use_hgnc_file(file = "https://ftp.ebi.ac.uk/pub/databases/genenames/hgnc/archive/monthly/tsv/hgnc_complete_set_2023-08-01.txt")
#> using hgnc file: https://ftp.ebi.ac.uk/pub/databases/genenames/hgnc/archive/monthly/tsv/hgnc_complete_set_2023-08-01.txt