create_hrf_afni: create_hrf_afni

View source: R/create_hrf_afni.R

create_hrf_afniR Documentation

create_hrf_afni

Description

create_hrf_afni

Usage

create_hrf_afni(
  hrf,
  tr,
  upsample_factor = NULL,
  afni_path = NULL,
  afni_quiet = TRUE
)

Arguments

hrf

name of the hemodynamic response function. can be gam, block or spmg1

tr

retrieval time (tr) in seconds

upsample_factor

number of volumes or time points

Examples

hrf <- create_hrf_afni("spmg1", 1.5, 16)
head(hrf)

# visualize
visualize_time_series(hrf, "SPMG1")

epongpipat/ppi documentation built on Jan. 31, 2024, 1:02 p.m.