pgb_liv\php_ms\Search\Parameters\MascotSearchParameters::setPrecursor
Certain data file formats, SCIEX API III, PerSeptive (.PKS), and Bruker (.XML), do not include m/z information for the precursor peptide.
For these formats only, the Precursor field is used to specify the m/z value of the parent peptide. The charge state is defined by the setting of the Peptide Charge field.
Signature
public function setPrecursor(float
$precursorMass )
Parameters
$precursorMass
— float
Precursor mass value
Test Coverage
Information
- Coverage: 4/4 Lines (100%)
- Tests: 2
- Passed: 2 (100%)
Tests
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\MascotSearchParametersTest::testCanGetSetValidPrecursor
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\MascotSearchParametersTest::testCanGetSetInvalidPrecursor