Select a single bundle from an AFQ dataframe
Usage
select_bundle(
df_afq,
tract,
dwi_metric,
covariates,
participant_id = "subjectID",
group_by = "group"
)
Arguments
- df_afq
The input AFQ dataframe
- tract
Abbreviated tract name, e.g., "CST_L" or "OR"
- dwi_metric
The diffusion MRI metric (e.g. "FA", "MD")
- covariates
List of strings of GAM covariates, not including the smoothing terms over nodes and the random effect due to subjectID. This list can also include smoothing terms.
- participant_id
The name of the column that encodes participant ID
- group_by
The grouping variable used to group nodeID smoothing terms