powered by
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
ScoperClones
spectralClones
identicalClones
hierarchicalClones
plotCloneSummary( data, xmin = NULL, xmax = NULL, breaks = NULL, binwidth = NULL, title = NULL, size = 0.75, silent = FALSE, ... )
A ggplot object defining the plot.
ScoperClones object output by the spectralClones, identicalClones or hierarchicalClones.
minimum limit for plotting the x-axis. If NULL the limit will be set automatically.
NULL
maximum limit for plotting the x-axis. If NULL the limit will be set automatically.
number of breaks to show on the x-axis. If NULL the breaks will be set automatically.
binwidth for the histogram. If NULL the binwidth will be set automatically.
string defining the plot title.
numeric value for lines in the plot.
if TRUE do not draw the plot and just return the ggplot2 object; if FALSE draw the plot.
TRUE
FALSE
additional arguments to pass to ggplot2::theme.
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)
Run the code above in your browser using DataLab