PlotTriNucSpectrum | R Documentation |
Plots the spectrum of 96 trinucleotide distribution (C>A, C>G, C>T, T>A, T>C, T>G) Please note that this function assumes that both sub.types and spectrum are sorted in the following order: C>A, C>G, C>T, T>A, T>C, T>G
PlotTriNucSpectrum( sub.types, spectrum, max.y.val, min.y.val, y.axis.title, draw.top.strip = T, draw.x.axis.labels = T, draw.y.axis.labels = T, draw.y.axis.title = T, font.size.small = 8, font.size.med = 14, plot.margin.top = 0.5, plot.margin.bottom = 0.5, plot.margin.left = 0.5, plot.margin.right = 0.5, title )
sub.types |
A character vector (types of 96 trinucleotide substitutions) |
spectrum |
A numeric vector (96 elements) |
max.y.val |
y axis maximum value |
min.y.val |
y axis minimum value |
y.axis.title |
y axis title |
draw.top.strip |
If True then draws top strip; Default = T |
draw.x.axis.labels |
If True then draws x axis labels; Default = T |
draw.y.axis.labels |
If True then draws y axis labels; Default = T |
draw.y.axis.title |
If True then draws y axis title; Default = T |
font.size.small |
Small font size; Default = 8 |
font.size.med |
Medium font size; Default = 14 |
plot.margin.top |
Top margin; Default = 0.5 |
plot.margin.bottom |
Bottom margin; Default = 0.5 |
plot.margin.left |
Left margin; Default = 0.5 |
plot.margin.right |
Right margin; Default = 0.5 |
title |
Plot title |
A ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.