View source: R/utils_analysis_random.R
rowname_id_swap | R Documentation |
This function uses the all_gene_names dataframe to swap the current rownames of a data matrix with the desired gene ID. For instance, if the rownames were currently ensembl, this function is able to switch them back to the original form.
rowname_id_swap(data_matrix, all_gene_names, select_gene_id)
data_matrix |
Data matrix with ensembl or user gene ID rownames |
all_gene_names |
Data frame of gene names |
select_gene_id |
String designating the desired ID type for rownames ("User_ID", "ensembl_ID", "symbol") |
Data matrix with changed rownames
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.