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

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)
# }