View source: R/template_download.R
ABI_resample | R Documentation |
Resample a volume to a target with optional transform using linear interpolation.
ABI_resample( source_volume, target_volume = NULL, target_space_name = NULL, xfm_transform = NULL, source_volume_resampled_file = NULL )
source_volume |
MINC file or vector you want to transform |
target_volume |
MINC file or vector you want to resample to. If NULL, it is assumed you want to transform to ABI CCFv3 50 micron. |
target_space_name |
Instead of specifying target_volume, you can provide one of several strings representing target volumes. Options include "adult gene expression" (i.e. 200um isotropic voxels), and "CCFv3 50um" (i.e. 50um isotropic voxels). If NULL, it is assumed you want to transform to ABI CCFv3 50 micron. |
xfm_transform |
xfm file denoting the transform. Default NULL means no transformation |
source_volume_resampled_file |
filepath to save resampled source_volume. If NULL (default), file is not saved. |
source_volume resampled to target space
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.