Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eliminate PsmCount from PEP calculation #2347

Merged
merged 20 commits into from
Mar 7, 2024

Conversation

trishorts
Copy link
Contributor

@trishorts trishorts commented Feb 19, 2024

cuz some smart people think that introduces bias.

https://pubmed.ncbi.nlm.nih.gov/21391616/

image

Copy link

codecov bot commented Feb 19, 2024

Codecov Report

Attention: Patch coverage is 92.84065% with 62 lines in your changes are missing coverage. Please review.

Project coverage is 92.74%. Comparing base (8ab02bc) to head (d3e9bc2).
Report is 1 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2347      +/-   ##
==========================================
+ Coverage   92.65%   92.74%   +0.08%     
==========================================
  Files         136      137       +1     
  Lines       21243    21199      -44     
  Branches     2930     2932       +2     
==========================================
- Hits        19682    19660      -22     
+ Misses       1083     1056      -27     
- Partials      478      483       +5     
Files Coverage Δ
...ineLayer/Calibration/DataPointAquisitionResults.cs 80.43% <100.00%> (ø)
...rpheus/EngineLayer/Calibration/LabeledDataPoint.cs 100.00% <100.00%> (ø)
...s/EngineLayer/ClassicSearch/ClassicSearchEngine.cs 97.84% <100.00%> (ø)
...gineLayer/CrosslinkSearch/CrosslinkSearchEngine.cs 91.08% <100.00%> (ø)
...EngineLayer/CrosslinkSearch/CrosslinkedPeptides.cs 100.00% <100.00%> (ø)
MetaMorpheus/EngineLayer/FdrAnalysis/PsmData.cs 100.00% <100.00%> (+7.69%) ⬆️
...aMorpheus/EngineLayer/GlycoSearch/GlycoPeptides.cs 88.03% <100.00%> (ø)
...pheus/EngineLayer/GlycoSearch/GlycoSearchEngine.cs 92.67% <100.00%> (ø)
MetaMorpheus/EngineLayer/Gptmd/GptmdEngine.cs 89.34% <100.00%> (ø)
...eus/EngineLayer/Localization/LocalizationEngine.cs 98.36% <100.00%> (ø)
... and 37 more

@@ -95,20 +94,6 @@ internal static (string ResolvedString, Dictionary<string, int> ResolvedValue) R
}
}

internal static (string ResolvedString, double? ResolvedValue) ResolveF2(IEnumerable<double> enumerable)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did this one go?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no longer needed.

@@ -189,6 +195,14 @@ public void SetFdrValues(double cumulativeTarget, double cumulativeDecoy, double
};
}

public void SetQandPEPvalues(double qValue, double qValueNotch, double pep, double pepQValue)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will the other fields in FdrInfo need to be updated as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see comment in revised PR

@trishorts trishorts merged commit a1d7d93 into smith-chem-wisc:master Mar 7, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants