plot_summary | R Documentation |
Function to annotate fusion calls
plot_summary(standardFusioncalls, groupby, outputpdffile, base_size = 20)
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 |
A ggplot object containing a summary of the standardized fusion calls
out_annofuse <- system.file("extdata", "PutativeDriverAnnoFuse.tsv", package = "annoFuseData")
sfc <- read.delim(out_annofuse, stringsAsFactors = FALSE)
plot_summary(sfc, groupby = "Fusion_Type")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.