Ejemplo n.º 1
0
        public MsDeconvFilter(LcMsRun run, Tolerance massTolerance, string msDeconvFileName)
        {
            _run = run;
            _massTolerance = massTolerance;
            _lcMsMatchMap = new LcMsMatchMap();

            Read(msDeconvFileName);
        }
Ejemplo n.º 2
0
        public IsosFilter(LcMsRun run, Tolerance massTolerance, string isosFileName, double fitScoreThreshold = 1.0)
        {
            _run = run;
            _massTolerance = massTolerance;
            _fitScoreThreshold = fitScoreThreshold;
            _lcMsMatchMap = new LcMsMatchMap();

            Read(isosFileName);
        }
 public Ms1IsotopeMostAbundantPlusOneFilter(
     InMemoryLcMsRun run,
     int minCharge = 3, int maxCharge = 30,
     double ppmTolerance = 10,
     double minMass = 3000.0,
     double maxMass = 50000.0,
     int maxNumPeaksToConsider = 40)
 {
     _run = run;
     _minCharge = minCharge;
     _maxCharge = maxCharge;
     MaxNumPeaksToConsider = maxNumPeaksToConsider;
     _tolerance = new Tolerance(ppmTolerance);
     _comparer = new MzComparerWithTolerance(ppmTolerance);
     _lcMsMatchMap = new LcMsMatchMap();
     PrecomputePossibleSequenceMasses();
     _lcMsMatchMap.CreateSequenceMassToMs2ScansMap(_run, _tolerance, minMass, maxMass);
 }
 public Ms1IsotopeAndChargeCorrFilter(
     LcMsRun run,
     Tolerance tolerance,
     int minCharge = 3, int maxCharge = 30,
     double minMass = 3000.0,
     double maxMass = 50000.0,
     double isotopeCorrThreshold = 0.7,
     double chargeCorrThreshold = 0.7,
     double mostAbundantPlusOneIsotopeCorrThreshold = 0.7,
     int maxNumPeaksToConsider = 40)
 {
     _run = run;
     _minCharge = minCharge;
     _maxCharge = maxCharge;
     _isotopeCorrThresholdThreshold = isotopeCorrThreshold;
     _chargeCorrThresholdThreshold = chargeCorrThreshold;
     _mostAbundantPlusOneIsotopeCorrThreshold = mostAbundantPlusOneIsotopeCorrThreshold;
     MaxNumPeaksToConsider = maxNumPeaksToConsider;
     _tolerance = tolerance;
     _comparer = new MzComparerWithTolerance(tolerance);
     _lcMsMatchMap = new LcMsMatchMap();
     PrecomputePossibleSequenceMasses();
     _lcMsMatchMap.CreateSequenceMassToMs2ScansMap(_run, _tolerance, minMass, maxMass);
 }