score_pairs: Score the similarity of all pairs of chromatograms

Description Usage Arguments Value

View source: R/score_pairs.R

Description

Compute an index measuring the similarity of chromatogram profiles for every pair of proteins detected in a CF-MS experiment. This function implements a total of 24 such indices, or measures of association. The full list can be accessed using the metrics function.

Usage

1
score_pairs(mat, metric = metrics(), seed = 0)

Arguments

mat

a CF-MS chromatogram matrix, with proteins in rows and fractions in columns

metric

the measure of association to use in scoring protein pairs

seed

seed for the random number generator, used to ensure the reproducibility some metrics, such as GENIE3

Value

a matrix of dimensions (# of proteins) x (# of proteins), scoring every possible protein pair, in which higher values reflect more similar pairs


fosterlab/CFTK documentation built on Jan. 19, 2021, 10:31 p.m.