translate_data | R Documentation |
Translates the IDs in the rownames of a SummarizedExperiment to Entrez IDs. For accepted IDs to be transformed see the DOCUMENTATION.
translate_data(data, species, sel_assay = 1, verbose = TRUE)
data |
Either a SummarizedExperiment object or a matrix of gene expression. |
species |
Species of the samples. |
sel_assay |
Character or integer, indicating the assay to be translated in the SummarizedExperiment. Default is 1. |
verbose |
Boolean, whether to show details about the results of the execution. |
Either a SummarizedExperiment or a matrix (depending on the input type) of gene expression with Entrez IDs as rownames.
data("brca_data") trans_data <- translate_data(brca_data, "hsa")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.