View source: R/load_genesets_syngo.R
load_genesets_syngo | R Documentation |
Workflow;
obtain the input file from; https://www.syngoportal.org
click "bulk download SynGO release ..." for SynGO release of interest
unzip
call this function with the full file path to the 'syngo_ontologies.xlsx' file
load_genesets_syngo(filename, gene_database = "entrez")
filename |
full path to the "syngo_ontologies.xlsx" file that was extracted from a SynGO bulk download ZIP archive |
gene_database |
gene IDs to return. must be any of; "entrez" (default), "hgnc", "ensembl" |
table with columns; source (character), source_version (character), id (character), name (character), genes (list), ngenes (int)
# TODO: update the filename to your downloaded file
f = "C:/DATA/SynGO_bulk_download_release_20231201/syngo_ontologies.xlsx"
if(file.exists(f)) genesets_asis = load_genesets_syngo(f)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.