Drop curl::has_internet() from gprofiler tests — unstated dep
R CMD check on GHA flagged the tests added in d0949ff with:
checking for unstated dependencies in ‘tests’ … WARNING ‘::’ or ‘:::’ import not declared from: ‘curl’
curlisn’t in our Imports/Suggests, so callingcurl::has_internet()directly in tests is incorrect. Drop the manualskip_if_offline()helper entirely — the existingtryCatch+testthat::skip()on API error already handles the offline case gracefully (and is what every other gprofiler-touching test in the suite uses).Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
orthogene: gene mapping made easyAuthors: Brian Schilder
README updated: Jan-25-2026
Intro
orthogeneis an R package for easy mapping of orthologous genes across hundreds of species. It pulls up-to-date gene ortholog mappings across 700+ organisms. It also provides various utility functions to aggregate/expand common objects (e.g. data.frames, gene expression matrices, lists) using 1:1, many:1, 1:many or many:many gene mappings, both within- and between-species.In brief,
orthogenelets you easily:convert_orthologsbetween any two species.map_speciesnames onto standard taxonomic ontologies.report_orthologsbetween any two species.map_genesonto standard ontologiesaggregate_mapped_genesin a matrix.all_genesfrom any species.infer_speciesfrom gene names.create_backgroundgene lists based one, two, or more species.get_silhouettesof each species from phylopic.prepare_treewith evolutionary divergence times across >147,000 species.Citation
If you use
orthogene, please cite:Documentation website
PDF manual
Installation
Docker
orthogenecan also be installed via a Docker or Singularity container with Rstudio pre-installed. Further instructions provided here.Methods
For most functions,
orthogenelets users choose between different methods, each with complementary strengths and weaknesses:"gprofiler","homologene", and"babelgene"In general, we recommend you use
"gprofiler"when possible, as it tends to be more comprehensive.While
"babelgene"contains less species, it queries a wide variety of orthology databases and can return a column “support_n” that tells you how many databases support each ortholog gene mapping. This can be helpful when you need a semi-quantitative measure of mapping quality.It’s also worth noting that for smaller gene sets, the speed difference between these methods becomes negligible.
Quick example
Convert orthologs
convert_orthologsis very flexible with what users can supply asgene_df, and can take adata.frame/data.table/tibble, (sparse)matrix, orlist/vectorcontaining genes.Genes, transcripts, proteins, SNPs, or genomic ranges will be recognised in most formats (HGNC, Ensembl, RefSeq, UniProt, etc.) and can even be a mixture of different formats.
All genes will be mapped to gene symbols, unless specified otherwise with the
...arguments (see?orthogene::convert_orthologsor here for details).Note on non-1:1 orthologs
A key feature of
convert_orthologsis that it handles the issue of genes with many-to-many mappings across species. This can occur due to evolutionary divergence, and the function of these genes tend to be less conserved and less translatable. Users can address this using different strategies vianon121_strategy=.convert_orthologsis just one of the many useful functions inorthogene. Please see the documentation website for the full vignette.Additional resources
Hex sticker creation
Benchmarking methods
Session Info
Related projects
Tools
gprofiler2:orthogeneuses this package.gprofiler2::gorth()pulls from many orthology mapping databases.homologene:orthogeneuses this package. Provides API access to NCBI HomoloGene database.babelgene:orthogeneuses this package.babelgene::orthologs()pulls from many orthology mapping databases.annotationTools: For interspecies microarray data.orthology: R package for ortholog mapping (deprecated?).hpgltools::load_biomart_orthologs(): Helper function to get orthologs from biomart.JustOrthologs: Ortholog inference from multi-species genomic sequences.orthologr: Ortholog inference from multi-species genomic sequences.OrthoFinder: Gene duplication event inference from multi-species genomics.Databases
HomoloGene: NCBI database that the R package homologene pulls from.
gProfiler: Web server for functional enrichment analysis and conversions of gene lists.
OrtholoGene: Compiled list of gene orthology resources.
Contact
Neurogenomics Lab
UK Dementia Research Institute
Department of Brain Sciences
Faculty of Medicine
Imperial College London
GitHub
DockerHub