CandidateSearch 1.1.2
Proof-of-concept implementation of a search engine that uses sparse matrix multiplication to identify the best peptide candidates for a given mass spectrum.
|
Simplified spectrum class implemention of a mass spectrum. More...
Public Member Functions | |
Spectrum (double[] Mz, double[] Intensity, int ScanNumber) | |
Constructor to create a new spectrum. | |
int[] | getEncoding (int massRange=5000, int massMultiplier=100) |
Get the encoding vector of the spectrum. | |
Properties | |
double[] | mz [get] |
Array containing m/z values of centroid peaks. | |
double[] | intensity [get] |
Array containing intensities of centroid peaks. | |
int | scanNumber [get] |
The scan number of the spectrum. | |
Simplified spectrum class implemention of a mass spectrum.
Definition at line 6 of file Spectra.cs.
CandidateSearch.util.Spectrum.Spectrum | ( | double[] | Mz, |
double[] | Intensity, | ||
int | ScanNumber | ||
) |
Constructor to create a new spectrum.
Mz | Array containing m/z values of centroid peaks. |
Intensity | Array containing intensities of centroid peaks. |
ScanNumber | The scan number of the spectrum. |
Definition at line 27 of file Spectra.cs.
int[] CandidateSearch.util.Spectrum.getEncoding | ( | int | massRange = 5000 , |
int | massMultiplier = 100 |
||
) |
Get the encoding vector of the spectrum.
massRange | Maximum m/z that should be considered while encoding. Has to match the specifications of VectorSearch. |
massMultiplier | Precision of the encoding. Has to match the specifications of VectorSearch. |
Definition at line 41 of file Spectra.cs.
|
get |
Array containing intensities of centroid peaks.
Definition at line 15 of file Spectra.cs.
|
get |
Array containing m/z values of centroid peaks.
Definition at line 11 of file Spectra.cs.
|
get |
The scan number of the spectrum.
Definition at line 19 of file Spectra.cs.