View source: R/nifti_extensions.R
| get_afni_attribute | R Documentation |
Extracts a specific attribute value from a parsed AFNI extension.
get_afni_attribute(ext, attr_name)
ext |
A |
attr_name |
Character string specifying the attribute name to retrieve (e.g., "HISTORY_NOTE", "BRICK_LABS"). |
The attribute value, or NULL if not found. The type depends on the attribute's ni_type in the XML.
## Not run:
# Get the history note from an AFNI extension
history <- get_afni_attribute(afni_ext, "HISTORY_NOTE")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.