rankCOS: Rank cosines, assigning 1 to the highest cosine and 0s to...

Description Usage Arguments Value

View source: R/functions-alignPEAKS_helpers.R

Description

Rank cosines, assigning 1 to the highest cosine and 0s to cosine of 0.

Usage

1

Arguments

x

matrix with cosine values for a single peak-group of interest and all peak-groups in table being matched to.

Value

Function returns numeric vector with ranks for each peak-group. Of the same lenght as original x matrix.


lauzikaite/massFlowR documentation built on April 29, 2020, 9:45 a.m.