read_all_hdr: Read all DICOM headers in a directory and return a...

Description Usage Arguments Value See Also

View source: R/read_all_hdr.R

Description

Read all DICOM headers in a directory and return a data.frame

Usage

1
2
3
read_all_hdr(directory, outfile = tempfile(fileext = ".rds"),
  overwrite = FALSE, remove_suffixes = c("rds", "rois_series", "exe",
  "bat"))

Arguments

directory

Directory of DICOM files

outfile

Output RDS file to write. If it exists and overwrite = FALSE, then it will be read in and returned.

overwrite

Should the RDS file be overwritten if it exists

remove_suffixes

suffixes to be removed from list.files when trying to determine directories with DICOM

Value

A data.frame of all the tags

See Also

read_dicom_header


neuroconductor/dcmsort documentation built on May 20, 2021, 4:28 p.m.