partner_gene_ensembl_id: Get the Ensembl ID from a PartnerGene object

Description Usage Arguments Value Examples

Description

This getter retrieves the Ensembl ID from a PartnerGene object

This sets the Ensembl ID of a PartnerGene object.

Usage

1
2
3
4
5
6
7
8
9
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

Arguments

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.

Value

The upstream fusion partner gene Ensembl ID.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
# 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"

chimeraviz documentation built on Jan. 19, 2021, 2 a.m.