load_tac: Loads TAC from file for use by other functions (default is...

Description Usage Arguments Value See Also Examples

View source: R/loading.R

Description

This is the main function for loading an individual participant's TAC data. The minimal required information within the supplied files is the start and stop times and a time unit (either seconds or minutes), as well as the activity values for 1 or more ROIs, and units for activity. The currently supported formats (with the corresponding format argument), include:

Usage

1
2
load_tac(filename, format = "PMOD", acqtimes = NULL,
  time_unit = NULL, activity_unit = NULL)

Arguments

filename

(e.g. "participant01.tac")

format

A character string, with options listed above (e.g. "PMOD")

acqtimes

Filename for a .acqtimes file (as in PMOD), required for format="voistat"

time_unit

NULL if in file (e.g. PMOD .tac), or set to "seconds" or "minutes" if not in file or to override file

activity_unit

NULL if in file (e.g. PMOD .tac), or set to "kBq/cc", "Bq/cc", "nCi/cc"

Value

tac object

See Also

Other Loading functions: as.tac, load_voistat, load_vol

Examples

1
2
f_raw_tac <- system.file("extdata", "AD06.tac", package="tacmagic") 
tac <- load_tac(f_raw_tac)

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