public class ChromatogramUtil extends Object
ChromatogramUtil class.
| Modifier and Type | Class and Description |
|---|---|
static class |
ChromatogramUtil.CalculationMethod
Calculates the m/z value of the chromatogram based on the list of m/z values
|
| Constructor and Description |
|---|
ChromatogramUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Double |
calculateMz(double[] mzValues,
float[] intensityValues,
Integer size,
ChromatogramUtil.CalculationMethod method)
calculateMz.
|
static Float |
getArea(float[] rtValues,
float[] intensityValues,
Integer size)
Returns the area of this feature.
|
static Double |
getAsymmetryFactor(float[] rtValues,
float[] intensityValues,
Integer size)
Returns the asymmetry factor of this feature.
|
static com.google.common.collect.Range<Float> |
getDataPointsChromatographyRange(float[] rtValues,
Integer size)
Returns the range of Float of all data points in this feature.
|
static com.google.common.collect.Range<Float> |
getDataPointsIntensityRange(Float[] intensityValues,
Integer size)
Returns the range of intensity values of all data points in this chromatogram.
|
static Float |
getDuration(float[] rtValues,
Integer size)
Returns the duration of this feature.
|
static Double |
getFwhm(float[] rtValues,
float[] intensityValues,
Integer size)
Returns the full width at half maximum (FWHM) of this feature.
|
static Float |
getMaxHeight(float[] intensityValues,
Integer size)
Returns the maximum height of this chromatogram, or null if size == 0.
|
static Double |
getMedianMz(double[] mzValues,
Integer size)
Returns median m/z value of the chromatogram
|
static Float |
getRt(float[] rtValues,
float[] intensityValues,
Integer size)
Returns the retention time of this feature.
|
static Float |
getRtEnd(float[] rtValues,
Integer size)
Returns the end retention time of this feature.
|
static com.google.common.collect.Range<Float> |
getRtRange(float[] rtValues,
Integer size)
Returns the RT range
|
static Float |
getRtStart(float[] rtValues,
Integer size)
Returns the start retention time of this feature.
|
static Double |
getTailingFactor(float[] rtValues,
float[] intensityValues,
Integer size)
Returns the tailing factor of this feature.
|
@Nullable public static Double getMedianMz(@Nonnull double[] mzValues, @Nonnull Integer size)
@Nullable public static com.google.common.collect.Range<Float> getRtRange(@Nonnull float[] rtValues, @Nonnull Integer size)
rtValues - an array of float.size - a Integer object.Range object.@Nonnull public static com.google.common.collect.Range<Float> getDataPointsChromatographyRange(@Nonnull float[] rtValues, @Nonnull Integer size)
rtValues - an array ofsize - a@Nullable public static com.google.common.collect.Range<Float> getDataPointsIntensityRange(@Nonnull Float[] intensityValues, @Nonnull Integer size)
intensityValues - an array ofsize - a@Nullable public static Double calculateMz(@Nonnull double[] mzValues, @Nonnull float[] intensityValues, @Nonnull Integer size, @Nonnull ChromatogramUtil.CalculationMethod method)
calculateMz.
intensityValues - an array of float.mzValues - an array of double.method - asize - a@Nullable public static Float getRt(@Nonnull float[] rtValues, @Nonnull float[] intensityValues, @Nonnull Integer size)
rtValues - an array ofintensityValues - an array of float.size - a@Nullable public static Float getRtStart(@Nonnull float[] rtValues, @Nonnull Integer size)
rtValues - an array ofsize - apublic static Float getRtEnd(@Nonnull float[] rtValues, @Nonnull Integer size)
rtValues - an array ofsize - a@Nullable public static Float getDuration(@Nonnull float[] rtValues, @Nonnull Integer size)
rtValues - an array ofsize - a@Nullable public static Float getMaxHeight(@Nonnull float[] intensityValues, @Nonnull Integer size)
intensityValues - an array of float.size - a@Nullable public static Float getArea(@Nonnull float[] rtValues, @Nonnull float[] intensityValues, @Nonnull Integer size)
rtValues - an array ofintensityValues - an array of float.size - a@Nullable public static Double getFwhm(@Nonnull float[] rtValues, @Nonnull float[] intensityValues, @Nonnull Integer size)
rtValues - rt valuesintensityValues - an array of float.size - a@Nullable public static Double getTailingFactor(@Nonnull float[] rtValues, @Nonnull float[] intensityValues, @Nonnull Integer size)
rtValues - an array ofintensityValues - an array of float.size - aCopyright © 2019. All rights reserved.