chimeraviz-internals-fusions_to_link_data: Create link data for RCircos from the given fusions.

chimeraviz-internals-fusions_to_link_dataR Documentation

Create link data for RCircos from the given fusions.

Description

This function takes a list of Fusion objects and creates a data frame in the format that RCircos::RCircos.Link.Plot() expects for link data.

Usage

.fusions_to_link_data(fusion_list, min_link_width = 1, max_link_widt = 10)

Arguments

fusion_list

A list of Fusion objects.

min_link_width

The minimum link line width. Default = 1

max_link_widt

The maximum link line width. Default = 10

Value

A data frame with fusion link data compatible with RCircos::RCircos.Link.Plot()

# @examples # Apparently examples shouldn't be set on private functions defuse833ke <- system.file("extdata", "defuse_833ke_results.filtered.tsv", package="chimeraviz") fusions <- import_defuse(defuse833ke, "hg19", 3) linkData <- chimeraviz::.fusions_to_link_data(fusions) # This linkData can be used with RCircos::RCircos.Link.Plot()


stianlagstad/chimeraviz documentation built on June 22, 2022, 6:25 p.m.