updateIDs: Update gene IDs

View source: R/geneHistory.R

updateIDsR Documentation

Update gene IDs

Description

Given a list of gene ids and gene history information, traces changes in the gene's name to get the latest valid ID

Usage

updateIDs(ids, gene_history)

Arguments

ids

Gene ids

gene_history

Gene history information, probably returned by getGeneHistory

Value

A character vector. New ids for genes that changed ids, or "-" for discontinued genes. the input itself.

Examples

## Not run: 
gene_history = getGeneHistory()
updateIDs(c("4340964", "4349034", "4332470", "4334151", "4323831"),gene_history)

## End(Not run)


oganm/homologene documentation built on Nov. 5, 2023, 8:39 a.m.