示例#1
0
 public FilterParam(FDR _fdr, Range _pep_mass, Range _pep_length, int _min_pep_num, double _protein_fdr)
 {
     this.fdr              = _fdr;
     this.pep_mass_range   = _pep_mass;
     this.pep_length_range = _pep_length;
     this.min_pep_num      = _min_pep_num;
     this.protein_fdr      = _protein_fdr;
 }
示例#2
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            FDR r = obj as FDR;

            if ((System.Object)r == null)
            {
                return(false);
            }
            if (this.fdr_value != r.fdr_value)
            {
                return(false);
            }
            if (this.isPeptides != r.isPeptides)
            {
                return(false);
            }
            return(true);
        }