ROIAverageSpectraByIds: ROIAverageSpectraByIds.

Description Usage Arguments Value

View source: R/librMSIdata.R

Description

Calculates the average spectrum within each roi specified by a vector of pixel ID's

Usage

1

Arguments

img

an rMSI object.

Ids

Identifiers of spectra to use for average calculation.

Value

the ROI average spectrum.


prafols/rMSI documentation built on Dec. 12, 2021, 7:29 p.m.