elm.landmarks | R Documentation |
These are used to map locations in EM (FAFB) space to JFRC2013 (aka DPX) space, in conjunction with a thin plate spline library.
elm.landmarks.12
contains the landmark positions used for
the FAFB12 assembly as a historical record.
elm.landmarks.13
contains the landmark positions used for
the FAFB13 assembly (from March to Sep 2017) as a historical record.
X,Y,Z correspond to locations in JFRC2013 template brain. However, they are in raw voxel coordinates. In contrast, X1,Y1,Z1 (which contain locations in FAFB space) are in nm.
The current iteration of these landmarks are in FAFB13 space
See https://github.com/saalfeldlab/elm for the original source of the landmarks.
head(elm.landmarks)
## Not run:
# Show landmarks in the context of the JFRC2013 template brain
library(nat.flybrains)
plot3d(JFRC2013)
# note that the landmarks are in raw voxel coordinates and must be scaled
xyz=scale(elm.landmarks[,c("X","Y","Z")], scale = 1/voxdims(JFRC2013), center = FALSE)
spheres3d(xyz, col = ifelse(elm.landmarks$Use, "green", 'red'), radius = 4)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.