FormatPeakMatrix: FormatPeakMatrix. Formats a C style peak matrix generated by...

Description Usage Arguments Value

Description

FormatPeakMatrix. Formats a C style peak matrix generated by MTPeakPicking::BinPeaks() to a rMSIprocPeakMatrix. If the original motors matrix posMotors is not provided, a copy of posMat will be used.

Usage

1
FormatPeakMatrix(cPeakMatrix, posMat, numPixels, names, uuid, posMotors = NULL)

Arguments

cPeakMatrix

a peak matrix with the same format as retured by MTPeakPicking::BinPeaks().

posMat

a rMSI image pos matrix.

numPixels

a vector including the number of pixels of each sample.

names

a vector of strings with the name of each sample.

uuid

a vector of img UUID to be also stored in peak matrices

posMotors

a rMSI image original motros coordinates matrix.

Value

the formated matrix.


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