GeneToSymbol | R Documentation |
Gene-to-symbol mappings
GeneToSymbol(object, ...)
## S4 method for signature 'DFrame'
GeneToSymbol(
object,
format = c("makeUnique", "1:1", "unmodified"),
quiet = FALSE
)
## S4 method for signature 'GRanges'
GeneToSymbol(object, ...)
object |
Object. |
format |
|
quiet |
|
... |
Arguments pass through to |
For some organisms, gene identifiers and gene names do not map 1:1 (e.g.
Homo sapiens and Mus musculus). Refer to the format
argument
here in the documentation for approaches that deal with this issue.
GeneToSymbol
.
Updated 2023-09-26.
makeGeneToSymbol()
.
data(GRanges, package = "AcidTest")
## DFrame ====
df <- S4Vectors::DataFrame(
"geneId" = c(
"ENSG00000228572.7",
"ENSG00000182378.14"
),
"geneName" = c(
"AL954722.1",
"PLCXD1"
)
)
x <- GeneToSymbol(df)
print(x)
## GRanges ====
object <- GRanges
x <- GeneToSymbol(object)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.