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