Here are groups of commonly-used functions in ciftiTools
:
Maintainer: Amanda Mejia mandy.mejia@gmail.com
Authors:
Damon Pham damondpham@gmail.com (ORCID)
Other contributors:
John Muschelli muschellij2@gmail.com (ORCID) [contributor]
Functions for reading in CIFTI or GIFTI data:
read_xifti
:Read in a CIFTI file as a "xifti"
read_xifti2
:Read in GIFTI files as a "xifti"
as.xifti
:Combine numeric data to form a "xifti"
read_surf
:Read in a surface GIFTI file as a "surf"
info_cifti
:Read the metadata in a CIFTI file
load_surf
:Read in a surface included in ciftiTools
load_parc
:Read in a parcellation included in ciftiTools
Functions for writing CIFTI or GIFTI data:
write_cifti
:Write a "xifti"
to a CIFTI file
write_xifti2
:Write a "xifti"
to GIFTI and NIFTI files
write_metric_gifti
:Write a numeric data matrix to a metric GIFTI file
write_surf_gifti
:Write a "surf"
to a surface GIFTI file
write_subcort_nifti
:Write subcortical data to NIFTI files
separate_cifti
:Separate a CIFTI file into GIFTI and NIFTI files
Functions for manipulating "xifti"
s:
apply_xifti
:Apply a function along the rows or columns of the "xifti"
data matrix
combine_xifti
:Combine multiple "xifti"
s with non-overlapping brain structures
convert_xifti
:Convert the intent of a "xifti"
merge_xifti
:Concatenate data matrices from multiple "xifti"
s
newdata_xifti
:Replace the data matrix in a "xifti"
remove_xifti
:Remove a brain structure or surface from a "xifti"
select_xifti
:Select data matrix columns of a "xifti"
transform_xifti
:Apply a univariate transformation to a "xifti"
or pair of "xifti"
s
add_surf
:Add surfaces to a "xifti"
move_from_mwall
:Move medial wall vertices back into the "xifti"
data matrix
move_to_mwall
:Move rows with a certain value into the "xifti"
medial wall mask
S3 methods for "xifti"
s:
summary
and print
:Summarize the contents.
as.matrix
:Convert data to a locations by measurements numeric matrix.
dim
:Obtain number of locations and number of measurements.
plot
:Visualize the cortical surface and/or subcortical data.
+
, -
, *
, /
, ^
, %%
, %/%
:Operation between a "xifti"
and a scalar, or between two "xifti"
s.
abs
, ceiling
, exp
, floor
, log
, round
, sign
, and sqrt
:Univariate transformation of "xifti"
data.
Functions for working with surfaces:
read_surf
:Read in a surface GIFTI file as a "surf"
is.surf
:Verify a "surf"
write_surf_gifti
:Write a "surf"
to a surface GIFTI file
view_surf
:Visualize a "surf"
resample_surf
:Resample a "surf"
rotate_surf
:Rotate the geometry of a "surf"
Useful links: