plot_single: Create plot of shared variants among samples

View source: R/somenone_variantconsensus.R

plot_singleR Documentation

Create plot of shared variants among samples

Description

Create plot of shared variants among samples

Usage

plot_single(
  granges,
  tag,
  sampleID,
  sample_map = NULL,
  colours = NULL,
  plot_label_pattern = "patho"
)

Arguments

granges

is a GRanges object

tag

is a string to tag output files

sampleID

name of sample

sample_map

map included_order to new names, must be name vector where names equate to sampleID, vector element is name to change to

colours

to use for colouring/shading, made into a rampPalette

plot_label_pattern

match this to print label of variant (NB too vague and you will have a huge amount of labels which looks shit; currently set to show 'patho'genic)

Value

none, plots PDF and writes out tsv files


brucemoran/somenone documentation built on Nov. 1, 2022, 3:56 p.m.