View source: R/plot3dSamples.R
Given a vector of named sample coordinates and colors, first determines if any samples are missing color info, then plots samples in an existing 3D model
1 | plot3DSamples(sampleCoordinates, colors)
|
sampleCoordinates |
Coordinates of samples with columns x y and z, each row is a sample with a row name |
colors |
vector of colors, usually corresponding to intensity of metric of interest; should be length of number of samples and also have names |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.