removeMatrix_kMeansTranspose: Remove Matrix k-Means Transpose

removeMatrix_kMeansTransposeR Documentation

Remove Matrix k-Means Transpose

Description

Remove the matrix by performing k-means clustering on the transpose of the peak matrix. The algorithm identifies similar spectral peaks.

Usage

removeMatrix_kMeansTranspose(
  pks_Norharmane,
  correlation = FALSE,
  normalize = TRUE
)

Arguments

pks_Norharmane

Peak Matrix

correlation

Binary valiable determining whether to use the correlation of the raw data or the raw data

normalize

Binary variable determining whether to normalize the data or not. TIC normalization is used.

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.