dicomTable: Construct Data Frame from DICOM Headers

View source: R/header.R

dicomTableR Documentation

Construct Data Frame from DICOM Headers

Description

A data frame is created given the valid DICOM fields provided by the user.

Usage

dicomTable(
  hdrs,
  stringsAsFactors = FALSE,
  collapse = "-",
  colSort = TRUE,
  verbose = FALSE,
  debug = FALSE
)

Arguments

hdrs

List object of DICOM headers.

stringsAsFactors

Logical variable to be passed to data.frame.

collapse

Character string used to paste DICOM group, element and value fields.

colSort

Logical variable (default = TRUE) to sort column names in the table.

verbose

Flag to provide text-based progress bar (default = FALSE).

debug

Logical variable (default = FALSE) that regulates to display of intermediate processing steps.

Value

Data frame where the rows correspond to images and the columns correspond to the UNION of all DICOM fields across all files in the list.

Author(s)

Brandon Whitcher bwhitcher@gmail.com

References

Whitcher, B., V. J. Schmid and A. Thornton (2011). Working with the DICOM and NIfTI Data Standards in R, Journal of Statistical Software, 44 (6), 1–28.

Digital Imaging and Communications in Medicine (DICOM)
https://www.dicomstandard.org


bjw34032/oro.dicom documentation built on Feb. 10, 2024, 12:25 a.m.