convertMouseHumanGenes: Convert Gene Names

View source: R/convertMouseHumanGenes.R

convertMouseHumanGenesR Documentation

Convert Gene Names

Description

Convert gene names between mouse and human using ensembl database (adapted from Rossin Erbe)

TO DO - add either verbose option or multiple output option to also output the genes that didn't get converted. original host: "https://dec2021.archive.ensembl.org/" this worked at first, but keep on getting connection time outs. The biomart functions should check other mirrors, but can also try "https://www.ensembl.org".

Usage

convertMouseHumanGenes(
  genes_v,
  species_v = "mmu",
  host_v = "https://dec2021.archive.ensembl.org/"
)

Arguments

genes_v

vector of genes to convert

species_v

species identity to convert FROM. If "mouse" or "mmu", will be converted to human. If "human" or "hg", will be converted to mouse.

Value

genes_v with updated names


weshorton/wrh.rUtils documentation built on Oct. 28, 2024, 7:24 a.m.