View source: R/PlotDensities.R
plotnD | R Documentation |
Create a 2D plot for multi-dimensional clustering
plotnD(xvals, yvals, zvals, subclonal.fraction_x, subclonal.fraction_y,
pngFile, samplename_x, samplename_y, max.plotted.value = NA,
cluster.locations = NULL, plot_mutations = F)
xvals |
Density coordinates of the x-axis |
yvals |
Density coordinates of the y-axis |
zvals |
The density itself |
subclonal.fraction_x |
Fraction of cells estimate for each mutation in sample on x-axis |
subclonal.fraction_y |
Fraction of cells estimate for each mutation in sample on y-axis |
pngFile |
Filename to which the figure should be pushed |
samplename_x |
Samplename to assign as x-axis label |
samplename_y |
Samplename to assign as y-axis label |
max.plotted.value |
The maximum value to plot on both x- and y-axis (Default: NA) |
cluster.locations |
Locations of clusters to be overlayed (Default: NULL) |
plot.mutations |
Boolean, supply TRUE when mutations should be overlayed on top of the density (Default: FALSE) |
dw9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.