convertGenesToSymbols: Convert genes to symbols

convertGenesToSymbolsR Documentation

Convert genes to symbols

Description

Convert genes to symbols

Usage

convertGenesToSymbols(object, ...)

convertSymbolsToGenes(object, ...)

## S4 method for signature 'SummarizedExperiment'
convertGenesToSymbols(object, strict = FALSE)

## S4 method for signature 'SummarizedExperiment'
convertSymbolsToGenes(object, strict = FALSE)

Arguments

object

Object.

strict

logical(1). Require that all identifiers contain gene name (symbol) metadata stored in the object. Disabled by default, to support objects containing custom gene identifiers, such as FASTA spike-ins.

...

Additional arguments.

Value

Modified object of same class.

Note

Updated 2021-10-21.

Examples

data(RangedSummarizedExperiment, package = "AcidTest")

## SummarizedExperiment ====
object <- RangedSummarizedExperiment
x <- convertGenesToSymbols(object)
print(x)
## Interconvert back to gene IDs.
y <- convertSymbolsToGenes(x)
print(y)

acidgenomics/r-acidexperiment documentation built on Jan. 17, 2024, 7:56 p.m.