ExportROIAverages: ExportROIAverages.

Description Usage Arguments Value

View source: R/ExportROISummary.R

Description

Exports the average spectrum of a group of pixels in a ROI as an ASCII text file. ROI's are defined using Bruker XML files. A single spectrum will be exported for each ROI found in XML file.

Usage

1
ExportROIAverages(roi_xml_file, img, out_path = getwd(), normalization = NULL)

Arguments

roi_xml_file

a Bruker region XML file.

img

an rMSI object.

out_path

disk path where the results will be stored.

normalization

a text string with the name of desired normalization to apply at output files.

Value

a list with the data set UUID and the pixels ID's exported for each ROI.


prafols/rMSIproc documentation built on Dec. 12, 2021, 7:31 p.m.