comp_peaks {gcxgclab}R Documentation

Compare Peaks

Description

comp_peaks compares peaks of two samples.

Usage

comp_peaks(ref_peaks, al_peaks)

Arguments

ref_peaks

a data.frame object. A data frame with 4 columns (Time, X, Y, Peak), ideally the output from either top_peaks() or thr_peaks().

al_peaks

a data.frame object. A data frame with 4 columns (Time, X, Y, Peak), ideally the output from either top_peaks() or thr_peaks().

Details

This function find compares the peaks from two samples and correlates the peaks by determining the peaks closest to each other in the two samples, within a certain reasonable distance. Then returns a data frame with a list of the correlated peaks including each of their time coordinates.

Value

A data.frame object. A data frame with 8 columns containing the matched peaks from the two samples, with the time, x, y, and peak values for each.


[Package gcxgclab version 1.0.1 Index]