Description Usage Arguments Value Examples
View source: R/get_fusion_by.R
Helper function to retrieve the Fusion object with the given id.
1 | get_fusion_by_id(fusion_list, id)
|
fusion_list |
A list of Fusion objects. |
id |
The id (e.g. the cluster_id from a deFuse run) we're looking for. |
A Fusion object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | defuse833ke <- system.file(
"extdata",
"defuse_833ke_results.filtered.tsv",
package="chimeraviz")
fusions <- import_defuse(defuse833ke, "hg19", 1)
fusion <- get_fusion_by_id(fusions, 5267)
# This should be the Fusion object:
fusion
# [1] "Fusion object"
# [1] "id: 5267"
# [1] "Fusion tool: defuse"
# [1] "Genome version: hg19"
# [1] "Gene names: RCC1-HENMT1"
# [1] "Chromosomes: chr1-chr1"
# [1] "Strands: +,-"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.