txNamesToGeneNames | R Documentation |
Works for ensembl, UCSC and other standard annotations.
txNamesToGeneNames(txNames, txdb)
txNames |
character vector, the transcript names to convert. Can also be a named object with tx names (like a GRangesList), will then extract names. |
txdb |
the transcript database to use or gtf/gff path to it. |
character vector of gene names
df <- ORFik.template.experiment()
txdb <- loadTxdb(df)
loadRegions(txdb, "cds") # using tx names
txNamesToGeneNames(cds, txdb)
# Identical to:
loadRegions(txdb, "cds", by = "gene")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.