Description Usage Arguments Details Examples
The most common usecase for this is when you have a SummarizedExperiment, DGEList, matrix, etc. that is "rownamed" by some gene idnetifiers (ensembl, entrez, etc) that you want to "easily" convert to be rownamed by symbols. And perhaps the most common use-case for this, again, would be able to easily change rownames of a heatmap to symbols.
1 | rename_rows(x, xref, ...)
|
x |
an object to whose rows need renaming |
xref |
an object to help with the renaming.
|
rename.duplicates |
The policy used to deal with duplicates in the
renamed values. If Multiple elements in the source can be renamed to
the same elements in the target (think of microarray probes to gene
symbols), what to do? By deafult ( |
The rownames that can't successfully remapped will keep their old names. This function should also guarantee that the rows of the incoming matrix are the same as the outgoing one.
1 2 3 4 5 | eset <- exampleExpressionSet(do.voom = FALSE)
ess <- rename_rows(eset, "symbol")
vm <- exampleExpressionSet(do.voom = TRUE)
vms <- rename_rows(vm, "symbol")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.