plotCloneSummary | R Documentation |
plotCloneSummary
plots the results in a ScoperClones
object returned
by spectralClones
, identicalClones
or hierarchicalClones
.
Includes the minimum inter (between) and maximum intra (within) clonal distances
and the calculated efective threshold.
plotCloneSummary(
data,
xmin = NULL,
xmax = NULL,
breaks = NULL,
binwidth = NULL,
title = NULL,
size = 0.75,
silent = FALSE,
...
)
data |
ScoperClones object output by the spectralClones, identicalClones or hierarchicalClones. |
xmin |
minimum limit for plotting the x-axis. If |
xmax |
maximum limit for plotting the x-axis. If |
breaks |
number of breaks to show on the x-axis. If |
binwidth |
binwidth for the histogram. If |
title |
string defining the plot title. |
size |
numeric value for lines in the plot. |
silent |
if |
... |
additional arguments to pass to ggplot2::theme. |
A ggplot object defining the plot.
See ScoperClones for the the input object definition. See spectralClones, identicalClones and hierarchicalClones for generating the input object.
# Find clones
results <- hierarchicalClones(ExampleDb, threshold=0.15)
# Plot clonal summaries
plot(results, binwidth=0.02)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.