get_fusions_from_vcf.RdReads a gzipped VCF file containing structural variant data, applies several filters, optionally annotates fusion breakpoints using a GTF file, and (optionally) generates a Circos plot.
Character. File path to the gzipped VCF file.
Character or NULL. Optional file path to a GTF file for breakpoint annotation. Required when annotate is TRUE.
Character. Genome assembly version (default: "hg38").
Character. Title for the plot when plot = TRUE (default: an empty string).
Numeric. Threshold for read depth filtering (default: 20).
Character vector. Allowed chromosomes (default: paste0("chr", 1:22)).
Optional. Indices or logical vector of fusion events to highlight in the plot (default: NULL).
Logical. If TRUE a Circos plot will be generated (default: FALSE).
Character vector. Filtering criteria; supported values include "pass", "fully_spanned", "protein_coding", and "has_strand".
Logical. If TRUE, fusion breakpoints will be annotated using gene coordinates (default: FALSE).
Logical. if TRUE, will provide messaging.
Numeric. Number of base pairs upstream of the transcription start site (default: 2000).
Numeric. Number of base pairs downstream of the transcription start site (default: 200).
A data frame containing fusion events with their breakpoint coordinates and (if requested) annotation details.