plotMutability
plots the mutability rates of a TargetingModel
.
plotMutability(model, nucleotides = c("A", "C", "G", "T"), style = c("hedgehog", "bar"), size = 1, silent = FALSE, ...)
"hedgehog"
: circular plot showing higher mutability
scores further from the circle. The 5-mer
is denoted by the values of the inner
circle. The 5-mer is read from the most interior
position of the 5-mer (5') to most exterior position
(3'), with the center nucleotide in the center ring.
Note, the order in which the 5-mers are plotted is
different for nucleotides c("A", "C")
and
c("G", "T")
.
"bar"
: bar plot of mutability similar to the
hedgehog
style with the most 5' positions
of each 5-mer at the base of the plot.
TRUE
do not draw the plot and just return the ggplot2
objects; if FALSE
draw the plot.# Plot one nucleotide in circular style
plotMutability(HS5FModel, "C")
# Plot two nucleotides in barchart style
plotMutability(HS5FModel, c("G", "T"), style="bar")
Run the code above in your browser using DataLab