load_ctd_gene: Function to load the '.tsv.gz' file for genes

View source: R/load_ctd.R

load_ctd_geneR Documentation

Function to load the .tsv.gz file for genes

Description

This function works in pair with download_ctd_genes. This function loads into the R session the downloaded "CTD_genes.tsv.gz" file.

Usage

load_ctd_gene(verbose = FALSE)

Arguments

verbose

(default FALSE) If set to TRUE messages and warnings are raised.

Details

The field included in the file (CTD_genes.tsv.gz) are:

  1. GeneSymbol

  2. GeneName

  3. GeneID (NCBI Gene identifier)

  4. AltGeneIDs (alternative NCBI Gene identifiers; '|'-delimited list)

  5. Synonyms ('|'-delimited list)

  6. BioGRIDIDs ('|'-delimited list)

  7. PharmGKBIDs ('|'-delimited list)

  8. UniprotIDs ('|'-delimited list)

Value

A data.frame with the content of the file "CTD_genes.tsv.gz"

Examples

if(download_ctd_genes()){
fdl <- load_ctd_gene()
dim( fdl )
}

isglobal-brge/CTDquerier documentation built on Oct. 6, 2022, 1:18 p.m.