chimeraviz-internals-fusions_to_gene_label_data: Create gene label data for RCircos from the given fusions.

chimeraviz-internals-fusions_to_gene_label_dataR Documentation

Create gene label 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.Gene.Name.Plot() expects for gene label data.

Usage

.fusions_to_gene_label_data(fusion_list)

Arguments

fusion_list

A list of Fusion objects.

Value

A data frame with fusion gene label data compatible with RCircos.Gene.Name.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) labelData <- chimeraviz::.fusions_to_gene_label_data(fusions) # This labelData can be used with RCircos.Gene.Connector.Plot() and RCircos.Gene.Name.Plot()


stianlagstad/chimeraviz documentation built on Dec. 3, 2023, 8:11 p.m.