Translate human to mouse gene symbols for cell cycling genes using biomart and save results for faster reading next time
✓ Published0🌍 Public
FFloWuenne
Last edited Nov 14, 2017
Created on Nov 14, 2017
This example demonstrates a workflow for converting human gene symbols to mouse orthologs for cell cycle genes, saving the results for faster future access. It shows the conversion of two gene lists—S-phase and G2/M-phase markers—from the Seurat `cc.genes` dataset into mouse equivalents. The code uses the `biomaRt` package to query Ensembl databases, specifically calling `useMart` for human and mouse datasets and `getLDS` to map HGNC symbols to MGI symbols. After conversion, the results are written to tab-separated text files for reuse, avoiding repeated live queries.
AI-generated description