Transcript-to-gene mappings
Usage
TxToGene(object, ...)
# S4 method for class 'DFrame'
TxToGene(object, quiet = FALSE)
# S4 method for class 'GRanges'
TxToGene(object, ...)
# S4 method for class 'GRangesList'
TxToGene(object, ...)
# S4 method for class 'data.frame'
TxToGene(object, ...)
# S4 method for class 'matrix'
TxToGene(object, ...)
Examples
## DFrame ====
df <- S4Vectors::DataFrame(
"txId" = c(
"ENST00000635602.1",
"ENST00000635506.1"
),
"geneId" = c(
"ENSG00000283061.1",
"ENSG00000283061.1"
)
)
object <- TxToGene(df)
print(object)
#> TxToGene with 2 rows and 2 columns
#> txId geneId
#> <character> <character>
#> 1 ENST00000635506.1 ENSG00000283061.1
#> 2 ENST00000635602.1 ENSG00000283061.1