CalculatePeakShapeSimilarity: Compute similarity scores for transition peaks in a peak...

Description Usage Arguments Value Examples

Description

The function takes a peak group of class peakObj as input and calculates pairwise similarity scores for the transition peaks in the peak group. Similarity score is defined as the Pearson correlation coefficient between the signal intensity vectors of the two peaks. For high quality peaks, the similarity score is expected to be close to 1.

Usage

1

Arguments

peak

A peak group of class peakObj

Value

A list with the following objects: r.similarity: A numeric matrix of pairwise similarity scores for transition peaks in the peak group. peak.jaggedness: Mean of the r.similarity. vector. This score represents the overall similarity of all the transitions in the peak group.

Examples

1
2
peak <- data.CSF$data$PeakGroup[[1]]
peak.group.similarity <- CalculatePeakShapeSimilarity(peak)

shadieshghi/TargetedMSQC documentation built on May 13, 2019, 12:20 p.m.