fusion_to_data_frame: Coerce Fusion object to data.frame

Description Usage Arguments Value See Also Examples

View source: R/utilities.R

Description

This function is used in create_fusion_report() to convert Fusion objects to a data.frame-format.

Usage

1

Arguments

fusion

The Fusion object to coerce.

Value

A data.frame with the fusion object.

See Also

create_fusion_report

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# Load data
defuse833ke <- system.file(
  "extdata",
  "defuse_833ke_results.filtered.tsv",
  package="chimeraviz")
fusions <- import_defuse(defuse833ke, "hg19", 1)
# Find the fusion object to create a data frame from
fusion <- get_fusion_by_id(fusions, 5267)
# Create the data frame
dfFusion <- fusion_to_data_frame(fusion)

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