Gene-to-symbol mappings

Gene2Symbol(object, ...)

# S4 method for SummarizedExperiment
Gene2Symbol(object, format = c("makeUnique", "unmodified", "1:1"))

Arguments

object

Object.

format

character(1). Formatting method to apply:

  • "makeUnique": Recommended. Apply make.unique() to the geneName column. Gene symbols are made unique, while the gene identifiers remain unmodified.

  • "unmodified": Return geneId and geneName columns unmodified, in long format.

  • "1:1": For gene symbols that map to multiple gene identifiers, select

...

Additional arguments.

Value

Gene2Symbol.

Note

Updated 2021-02-01.

See also

Examples

data(RangedSummarizedExperiment, package = "AcidTest") ## SummarizedExperiment ==== object <- RangedSummarizedExperiment x <- Gene2Symbol(object) print(x)
#> Gene2Symbol with 500 rows and 2 columns #> geneId geneName #> <character> <character> #> gene001 ENSG00000000003.15 TSPAN6 #> gene002 ENSG00000000005.6 TNMD #> gene003 ENSG00000000419.12 DPM1 #> gene004 ENSG00000000457.14 SCYL3 #> gene005 ENSG00000000460.17 C1orf112 #> ... ... ... #> gene496 ENSG00000032742.17 IFT88 #> gene497 ENSG00000033011.13 ALG1 #> gene498 ENSG00000033030.15 ZCCHC8 #> gene499 ENSG00000033050.9 ABCF2 #> gene500 ENSG00000033100.16 CHPF2