simulation3Dmesh: 3D virtual spine

Description Usage Arguments Value Examples

Description

Generate the 3D representation of the virtual spines

Usage

1
simulation3Dmesh(newSomas, idx, iterations = 4)

Arguments

newSomas

a matrix where each row is a virtual spine

idx

is number of the row number of the spine to representate

Value

rgl object 3D mesh3d

Examples

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")

sergioluengosanchez/EMS_clustering documentation built on May 31, 2019, 10:37 a.m.