pgb_liv\php_ms\Search\Parameters\MsgfPlusSearchParameters::setMs2DetectorId
(0: Low-res LCQ/LTQ (Default for CID and ETD), 1: High-res LTQ (Default for HCD), 2: TOF, 3: Q-Exactive)
Identifier of the instrument to generate MS/MS spectra (used to determine the scoring model). For "hybrid" spectra with high-precision MS1 and low-precision MS2, use 0. For usual low-precision instruments (e.g. Thermo LTQ), use 0. If MS/MS fragment ion peaks are of high-precision (e.g. tolerance = 10ppm), use 2. For TOF instruments, use 2. For Q-Exactive HCD spectra, use 3. For other HCD spectra, use 1.
Signature
public function setMs2DetectorId(int
$identifier )
Parameters
$identifier
— int
Identifier of the instrument to generate MS/MS spectra
Test Coverage
Information
- Coverage: 4/4 Lines (100%)
- Tests: 2
- Passed: 2 (100%)
Tests
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\MsgfPlusSearchParametersTest::testCanGetSetValidMs2DetectorId
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\MsgfPlusSearchParametersTest::testCanGetSetInvalidMs2DetectorId