예제 #1
0
 public Ms1IsotopeTopKFilter(
     LcMsRun run,
     int minCharge       = 3, int maxCharge = 30,
     double ppmTolerance = 15)
 {
     _run          = run;
     _minCharge    = minCharge;
     _maxCharge    = maxCharge;
     _ppmTolerance = ppmTolerance;
     _tolerance    = new Tolerance(_ppmTolerance);
     _comparer     = new MzComparerWithPpmTolerance(ppmTolerance);
     _sequenceMassBinToScanNumsMap = new Dictionary <int, IList <int> >();
     //PrecomputePossibleSequenceMasses();
 }
예제 #2
0
        public Ms1IsotopeCorrFilter(
            LcMsRun run, 
            int minCharge = 3, int maxCharge = 30,
            double ppmTolerance = 15,
            double corrThreshold = 0.5,
            int maxNumDeisotopedPeaksPerIsolationWindow = 40)
        {
            _run = run;
            _minCharge = minCharge;
            _maxCharge = maxCharge;
            _corrThreshold = corrThreshold;
            MaxNumDeisotopedPeaksPerIsolationWindow = maxNumDeisotopedPeaksPerIsolationWindow;
            _ppmTolerance = ppmTolerance;
            _tolerance = new Tolerance(_ppmTolerance);
            _comparer = new MzComparerWithPpmTolerance(ppmTolerance);
            _sequenceMassBinToScanNumsMap = new Dictionary<int, IList<int>>();
//            _topKFilter = new Ms1IsotopeTopKFilter(run, minCharge, maxCharge, ppmTolerance);
            PrecomputePossibleSequenceMasses();
        }
예제 #3
0
        public Ms1IsotopeCorrFilter(
            LcMsRun run,
            int minCharge        = 3, int maxCharge = 30,
            double ppmTolerance  = 15,
            double corrThreshold = 0.5,
            int maxNumDeisotopedPeaksPerIsolationWindow = 40)
        {
            _run           = run;
            _minCharge     = minCharge;
            _maxCharge     = maxCharge;
            _corrThreshold = corrThreshold;
            MaxNumDeisotopedPeaksPerIsolationWindow = maxNumDeisotopedPeaksPerIsolationWindow;
            _ppmTolerance = ppmTolerance;
            _tolerance    = new Tolerance(_ppmTolerance);
            _comparer     = new MzComparerWithPpmTolerance(ppmTolerance);
            _sequenceMassBinToScanNumsMap = new Dictionary <int, IList <int> >();
//            _topKFilter = new Ms1IsotopeTopKFilter(run, minCharge, maxCharge, ppmTolerance);
            PrecomputePossibleSequenceMasses();
        }