guess_orgdb_keytype: Iterate over keytypes looking for matches against a set of...

View source: R/annotation_orgdb.R

guess_orgdb_keytypeR Documentation

Iterate over keytypes looking for matches against a set of IDs.

Description

Sometimes, one does not know what the correct keytype is for a given set of IDs. This will hopefully find them.

Usage

guess_orgdb_keytype(ids, orgdb = NULL, verbose = FALSE)

Arguments

ids

Set of gene IDs to seek.

orgdb

Orgdb instance to iterate through.

verbose

talky talk

Value

Likely keytype which provides the desired IDs.

See Also

[org.Dm.eg.db]

Examples

 ids <- c("Dm.9", "Dm.2294", "Dm.4971")
 dm_orgdb <- "org.Dm.eg.db"
 keytype_guess <- guess_orgdb_keytype(ids, dm_orgdb)
 keytype_guess

elsayed-lab/hpgltools documentation built on May 9, 2024, 5:02 a.m.