fusion_to_data_frame | R Documentation |
This function is used in create_fusion_report() to convert Fusion objects to a data.frame-format.
fusion_to_data_frame(fusion)
fusion |
The Fusion object to coerce. |
A data.frame with the fusion object.
create_fusion_report
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.