plot_summary: Function to annotate fusion calls

View source: R/plot_summary.R

plot_summaryR Documentation

Function to annotate fusion calls

Description

Function to annotate fusion calls

Usage

plot_summary(standardFusioncalls, groupby, outputpdffile, base_size = 20)

Arguments

standardFusioncalls

A dataframe from star fusion or arriba standardized to run through the filtering steps

groupby

column name with grouping variables

outputpdffile

Filename to plot image - optional, if not specified, the plot is simply generated

base_size

size for text in plots, defalt 20 for pdf outputs

Value

A ggplot object containing a summary of the standardized fusion calls

Examples

out_annofuse <- system.file("extdata", "PutativeDriverAnnoFuse.tsv", package = "annoFuseData")
sfc <- read.delim(out_annofuse, stringsAsFactors = FALSE)
plot_summary(sfc, groupby = "Fusion_Type")

d3b-center/annoFuse documentation built on Feb. 21, 2023, 1:06 a.m.