public class LCMSRange extends Object implements Serializable
LCMSDataSubset
Represents a subset of data in an LCMS run.| Modifier and Type | Field and Description |
|---|---|
static com.google.common.collect.Range<Integer> |
FULL_SCAN_RANGE
Represents the whole range of scans by number in any LCMS run.
|
static LCMSRange |
WHOLE_RUN |
static LCMSRange |
WHOLE_RUN_MS1 |
static LCMSRange |
WHOLE_RUN_MS2 |
static LCMSRange |
WHOLE_RUN_STRUCTURE |
| Modifier | Constructor and Description |
|---|---|
protected |
LCMSRange()
Creates a range, that includes the whole run.
|
protected |
LCMSRange(com.google.common.collect.Range<Integer> scanRange,
Integer msLevel,
DoubleRange mzRange) |
| Modifier and Type | Method and Description |
|---|---|
static LCMSRange |
create()
A range that will contain all the scans in an LCMS run, no filters applied.
|
static LCMSRange |
create(com.google.common.collect.Range<Integer> scanRange)
A range that will contain all scans within the specified scan number range.
|
static LCMSRange |
create(com.google.common.collect.Range<Integer> scanRange,
Integer msLevel)
A range that will contain all scans with the scan number range, but only
at a specific MS-Level.
|
static LCMSRange |
create(com.google.common.collect.Range<Integer> scanRange,
Integer msLevel,
DoubleRange mzRange)
A range, containing all scans within the scan number range at a specific MS-Level
and a specific precursor range.
|
Integer |
getMsLevel() |
DoubleRange |
getMzRange() |
com.google.common.collect.Range<Integer> |
getScanRange() |
public static final com.google.common.collect.Range<Integer> FULL_SCAN_RANGE
public static final LCMSRange WHOLE_RUN
public static final LCMSRange WHOLE_RUN_MS1
public static final LCMSRange WHOLE_RUN_MS2
public static final LCMSRange WHOLE_RUN_STRUCTURE
protected LCMSRange()
protected LCMSRange(com.google.common.collect.Range<Integer> scanRange, Integer msLevel, DoubleRange mzRange)
scanRange - null not allowed, use FULL_SCAN_RANGE as a marker
for all scans in the runmsLevel - null means any level, which means, that in this case you
are only allowed to provide null for mzRange.mzRange - if msLevel is null, then this can't be non-null.public static final LCMSRange create()
public static final LCMSRange create(com.google.common.collect.Range<Integer> scanRange)
scanRange - null means the whole range of scan numbers in the runpublic static final LCMSRange create(com.google.common.collect.Range<Integer> scanRange, Integer msLevel)
scanRange - null means the whole range of scan numbers in the runmsLevel - null means any ms-levelpublic static final LCMSRange create(com.google.common.collect.Range<Integer> scanRange, Integer msLevel, DoubleRange mzRange)
scanRange - null means the whole range of scan numbers in the runmsLevel - null means any ms-levelmzRange - null means all ranges. You can't use non-null here, if
msLevel is nullpublic com.google.common.collect.Range<Integer> getScanRange()
public Integer getMsLevel()
public DoubleRange getMzRange()
Copyright © 2017. All rights reserved.