downstream_partner_gene {chimeraviz} | R Documentation

## Get the downstream fusion partner gene

### Description

This getter retrieves the downstream PartnerGene object.

This sets the downstream PartnerGene object of a Fusion object

### Usage

    downstream_partner_gene(x)

    ## S4 method for signature 'Fusion'
    downstream_partner_gene(x)

    downstream_partner_gene(object) <- value

    ## S4 replacement method for signature 'Fusion'
    downstream_partner_gene(object) <- value

### Arguments

`x` | The Fusion object you wish to retrieve the downstream PartnerGene object for.
`object` | The Fusion object you wish to set a new downstream PartnerGene object for.
`value` | The new PartnerGene object.

### Value

The downstream PartnerGene object.

### Examples

    # Load data
    defuseData <- system.file(
      "extdata",
      "defuse_833ke_results.filtered.tsv",
      package="chimeraviz")
    fusions <- import_defuse(defuseData, "hg19", 1)
    fusion <- fusions[[1]]
    # Get the downstream fusion partner gene
    downstream_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
    downstream_partner_gene(fusion) <- upstream_partner_gene(fusion)

[Package chimeraviz version 1.8.5 Index]