getCoefficients: Obtain Last-Used Score Coefficients

Description Usage Arguments Value Examples

Description

Provides the last used weight arguments from calcScores() function. Returns empty list if calcScores() has not yet been called.

Usage

1
2
3
4
getCoefficients(object)

## S4 method for signature 'metabCombiner'
getCoefficients(object)

Arguments

object

metabCombiner object

Value

A list of the last used weight parameters:

A

Specific weight penalizing feature m/z differences

B

Specific weight penalizing retention time projection error

C

Specific weight penalizing differences in abundance quantiles

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
data(plasma30)
data(plasma20)

p30 <- metabData(plasma30, samples = "CHEAR")
p20 <- metabData(plasma20, samples = "Red")

p.comb <- metabCombiner(p30, p20)
p.comb <- selectAnchors(p.comb, windx = 0.05, windy = 0.03)
p.comb <- fit_gam(p.comb, k = 20, iterFilter = 1)
p.comb <- calcScores(p.comb, A = 90, B = 14, C = 0.5)

getCoefficients(p.comb)

metabCombiner documentation built on Dec. 10, 2020, 2 a.m.