public class BiGaussianSimilarityTest extends Object
BiGaussianSimilarityTest class is used for determining true or false peak by comparing BiGaussian values with intensity values of given m/z and left and right bounds (variables leftBound and rightBound).
Constructor and Description |
---|
BiGaussianSimilarityTest() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(List<SliceSparseMatrix.Triplet> slice,
int leftBound,
int rightBound,
int roundedMZ,
double biGaussianSimilarityThreshold)
execute method is used for testing a peak with given m/z-value (variable mz) and left and right
bounds (variables leftBound and rightBound).
|
public boolean execute(List<SliceSparseMatrix.Triplet> slice, int leftBound, int rightBound, int roundedMZ, double biGaussianSimilarityThreshold)
execute method is used for testing a peak with given m/z-value (variable mz) and left and right bounds (variables leftBound and rightBound). Peak is tested by comparing BiGaussian values with intensity values from slice of sparse matrix.
slice
- a List
object. This is
horizontal slice from sparse matrix of given m/z value.leftBound
- a Integer
object. This is lowest scan number from which peak
determining starts.rightBound
- a Integer
object. This is highest scan number on which peak
determining ends.roundedMZ
- a Double
object. It's rounded m/z value. Original m/z value
multiplied by 10000.biGaussianSimilarityThreshold
- a double.Peak3DTest.Result
object. Result object contains similarity values, lower and upper mz
boundaries for adjacent similar peaks.
Copyright © 2019. All rights reserved.