subset_hdr: Subset the Header files and Reshape

Description Usage Arguments Value

View source: R/subset_hdr.R

Description

Subset the Header files and Reshape

Usage

1
2
subset_hdr(all_hdr, keep_tags = relevant_tags(),
  unique_fields = relevant_fields(), force = TRUE)

Arguments

all_hdr

An output from read_all_hdr

keep_tags

tags to keep in the data

unique_fields

The fields that should uniquely identify a DICOM

force

Should the function warn (as opposed to fail) if unique_fields has duplicates?

Value

A wide data.frame of the information needed for filtering


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