peakMatch {flowClust} | R Documentation |
Uses the hungarian algorithm to match peaks across samples, one at a time using a template sample.
peakMatch(peaks, target.index, max.fill = 1e+12)
peaks |
is the matrix of peaks in the columns and samples in the rows |
target.index |
is the index of the template sample. |
max.fill |
is the value to substitute for NAs in the distance matrix. Should be very large, but if too large, will overflow and give an incorrect matching |