Learn R Programming

oro.dicom (version 0.3.1)

dicomTable: 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,
           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.
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.

References

Digital Imaging and Communications in Medicine (DICOM) http://medical.nema.org