load_voistat: Reads PMOD .voistat files and optionally merges...

Description Usage Arguments Value See Also Examples

View source: R/loading.R

Description

PMOD can produce .voistat files with the average model values by ROI for its voxelwise binding potential (BPnd) models, such as Logan, SRTM, etc. This function reads the .voistat file and returns a data.frame with the ROI as rows and the model value as the column. Optionally, the ROIs can be combined into larger ROIs if ROI_def is specified, just as with TAC loading.

Usage

1
load_voistat(filename, ROI_def = NULL, model = "VALUE")

Arguments

filename

(e.g. participant_logan.voistat)

ROI_def

Optional ROI definitions to combine ROIs (e.g. roi_ham_pib())

model

A string to name the variable being extracted, e.g. "Logan_DVR"

Value

data.frame with loaded model data in specified combined weighted ROIs

See Also

Other Loading functions: as.tac, load_tac, load_vol

Examples

1
2
3
f <- system.file("extdata", "AD06_BPnd_BPnd_Logan.voistat", 
                 package="tacmagic")
vs <- load_voistat(f, ROI_def=roi_ham_pib(), model="Logan")

ropensci/tacmagic documentation built on Feb. 11, 2020, 9:34 p.m.