public override string ToString() { if (IsotopicProfile == null) { return(base.ToString()); } var data = new List <string> { MSFeatureID.ToString(), ScanSet.PrimaryScanNumber.ToString(), IsotopicProfile.MonoIsotopicMass.ToString("0.00000"), IsotopicProfile.ChargeState.ToString(), IsotopicProfile.MonoPeakMZ.ToString("0.00000"), IntensityAggregate.ToString("0.00"), IsotopicProfile.Score.ToString("0.0000"), InterferenceScore.ToString("0.0000") }; // Fit Score // Uncomment to write out the fit_count_basis // //data.Add(this.IsotopicProfile.ScoreCountBasis); // Number of points used for the fit score return(string.Join("; ", data)); }
public string Display() { return(Peak.XValue.ToString("0.00") + "\t" + Peak.NETValue.ToString("0.0000") + "\t" + Abundance + "\t" + FitScore.ToString("0.0000") + "\t" + InterferenceScore.ToString("0.000") + "\t" + IsIsotopicProfileFlagged); }