partner_gene_ensembl_id | R Documentation |
This getter retrieves the Ensembl ID from a PartnerGene object
This sets the Ensembl ID of a PartnerGene object.
partner_gene_ensembl_id(x)
## S4 method for signature 'PartnerGene'
partner_gene_ensembl_id(x)
partner_gene_ensembl_id(object) <- value
## S4 replacement method for signature 'PartnerGene'
partner_gene_ensembl_id(object) <- value
x |
The PartnerGene object you wish to retrieve the Ensembl ID for. |
object |
The PartnerGene object you wish to set a new Ensembl ID for. |
value |
The new Ensembl ID. |
The upstream fusion partner gene Ensembl ID.
# Load data
defuseData <- system.file(
"extdata",
"defuse_833ke_results.filtered.tsv",
package="chimeraviz")
fusions <- import_defuse(defuseData, "hg19", 1)
fusion <- fusions[[1]]
# Get the Ensembl ID from the upstream fusion partner gene
partner_gene_ensembl_id(upstream_partner_gene(fusion))
# Load data
defuseData <- system.file(
"extdata",
"defuse_833ke_results.filtered.tsv",
package="chimeraviz")
fusions <- import_defuse(defuseData, "hg19", 1)
fusion <- fusions[[1]]
# Set the downstream PartnerGene object to be the same as the upstream
# PartnerGene object
partner_gene_ensembl_id(upstream_partner_gene(fusion)) <- "test"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.