removeMatrix_compareAu: Remove Matrix Compare Au

removeMatrix_compareAuR Documentation

Remove Matrix Compare Au

Description

Remove the matrix by comparing anatomically similar regions of the tissue to a reference image taken with a gold matrix. Assesses the degree of similarity between peaks.

Usage

removeMatrix_compareAu(
  pks_Norharmane,
  pks_Au,
  use_average = FALSE,
  align_calib = "rMSIproc"
)

Arguments

pks_Norharmane

Peak Matrix

pks_Au

Peak Matrix with gold coating

use_average

Use average of each region if true. Use all the pixels in the region if false.

align_calib

Alignement and calibration algorithm to use. "old": merges the peaks that are within a fixed threshold m/z distance. "rMSIproc": uses the function MergePeakMatrices in rMSIproc

Value

List of mass indices considered to be endogenous. The rest of the peaks are deamed as matrix related or non-anatomically relevant.


gbaquer3/rMSIcleanup documentation built on Feb. 24, 2023, 2:58 p.m.