sc.plot3d | R Documentation |
Creates a 3d representation of clustering from a trio of input samples.
sc.plot3d(sco, samplesToPlot, size=700, outputFile=NULL)
sco |
an scObject object created by the sciClone() function |
samplesToPlot |
a character vector giving the names of the samples to plot. If only three samples were used in the clustering, just pass in sco@sampleNames |
size |
the size in pixels of the resulting square 3d plot |
outputFile |
if specified will create an animated gif that rotates the plot 360 degrees. (Requires imagemagick to be installed on the host machine). |
Uses rgl to create an interactive 3d plot of a trio of samples with clusters labelled. Will also create an animated gif for display purposes (requires imagemagick to be installed on the host machine and 'convert' to be in the path).
# sc.plot3d(sc, samplesToPlot=c("sample1","sample2","sample3"), outputFile="results/clusters.3d.gif")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.