catmaid_add_volume | R Documentation |
Add a 3D mesh surface to catmaid volume manager
catmaid_add_volume(x, conn = NULL, pid = 1, ...)
x |
A mesh object such as hxsurf or a list with raw vertices and indices
that will be passed to |
conn |
A |
pid |
Project id (default 1) |
... |
Additional arguments passed to |
An invisible list with the post status response on success (the function will throw an error on failure)
as.catmaidmesh
## Not run: library(elmr) FAFBNP.surf=xform_brain(JFRC2NP.surf, sample=JFRC2, ref=FAFB14) for(r in FAFBNP.surf$RegionList){ comment="Transformed from JFRC2 space onto FAFB14" name=paste("v14", sep=".", r) catmaid_add_volume(subset(FAFBNP.surf, r), title=name, comment=comment) } ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.