View source: R/somenone_variantconsensus.R
plot_consensus | R Documentation |
Create plot of shared variants among samples
plot_consensus( master_gr, tag, included_order, sample_map = NULL, colours = NULL, plot_label_pattern = "patho" )
master_gr |
is a named list of GRanges object [[samples1..n]] |
tag |
is a string to tag output files |
included_order |
ordering of samples for plotting |
sample_map |
map included_order to new names, must be name vector where names equate to included_order elements |
colours |
to use for colouring/shading, made into a rampPalette, order according to low to high allele frequency |
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) |
none, plots PDF and writes out tsv files
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.