#' @export
#' @method mask_img antsImage
#' @importFrom neurobase mask_img
mask_img.antsImage = function(img, mask, allow.NA = TRUE){
mask = neurobase::ensure_array(mask)
img * mask
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.