Learn R Programming

homologene (version 1.4.68.19.3.27)

updateIDs: 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

Run this code
# NOT RUN {
gene_history = getGeneHistory()
updateIDs(c("4340964", "4349034", "4332470", "4334151", "4323831"),gene_history)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab