Transcript-to-gene mappings
Usage
TxToGene(object, ...)
# S4 method for DFrame
TxToGene(object, quiet = FALSE)
# S4 method for GRanges
TxToGene(object, ...)
# S4 method for GRangesList
TxToGene(object, ...)
# S4 method for data.frame
TxToGene(object, ...)
# S4 method for matrix
TxToGene(object, ...)
Arguments
- object
Object.
- quiet
logical(1)
. Perform command quietly, suppressing messages.- ...
Arguments pass through to
DFrame
method.
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