Description Usage Arguments Value Examples
Generate the 3D representation of the virtual spines
1 | simulation3Dmesh(newSomas, idx, iterations = 4)
|
newSomas |
a matrix where each row is a virtual spine |
idx |
is number of the row number of the spine to representate |
rgl object 3D mesh3d
1 2 3 4 5 6 7 | newSomas <- sampleSomas(bestModel, dataset$is_dir, cluster_id = 1, num_simulations = 20)
mesh <- simulation3Dmesh(newSomas,1,iterations=0)
shade3d(mesh,col="red")
mesh <- simulation3Dmesh(newSomas,2,iterations=0)
shade3d(mesh,col="red")
mesh <- simulation3Dmesh(newSomas,7,iterations=0)
shade3d(mesh,col="red")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.