View source: R/threeBrain-instance.R
transform_point_to_template | R Documentation |
Calculate template 'MNI' coordinates for points on native brain
transform_point_to_template(
subject,
positions,
space = c("scannerRAS", "tkrRAS"),
mapping_method = c("volumetric", "surface"),
flip_hemisphere = FALSE,
verbose = TRUE,
project_surface = "pial",
volumetric_transform = c("auto", "affine", "nonlinear"),
...
)
transform_thinfilm_to_mni152(
subject,
flip_hemisphere = FALSE,
interpolator = 0.3,
n_segments = c(16, 16),
group_labels = NULL,
project_surface = "pial",
volumetric_transform = c("auto", "affine", "nonlinear"),
template_subject = c("cvs_avg35_inMNI152", "fsaverage", "bert", "MNI152")
)
subject |
'RAVE' subject |
positions |
optional matrix of 3 columns, either in scanner or surface
space (specified by |
space |
if |
mapping_method |
whether the mapping is |
flip_hemisphere |
whether to flip the hemisphere; default is
|
verbose |
whether to verbose the mapping progress; default is true |
project_surface |
for surface mapping only, which surface to project
electrodes onto; default is |
volumetric_transform |
for volume mapping only, which type of transform
to use; default is |
... |
ignored |
interpolator |
whether the transform lean towards volume mapping
( |
n_segments |
positive integers with length of two: resolution of the mapping; default segments the thin-film array into 16 by 16 segments |
group_labels |
|
template_subject |
template subject to be mapped to; default is
|
A table of electrode 'MNI' coordinates.
if(interactive()) {
transform_point_to_template('demo/DemoSubject', mapping_method = "volumetric")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.