Repository navigation
Added exported INDRA evidence-source lists - #131
Merged
tonywu1999 merged 1 commit intoOct 9, 2026
Merged
Conversation
* INDRA_DATABASE_SOURCES and INDRA_TEXT_MINED_SOURCES, with INDRA's internal names, for get_network(evidence_sources =) * backend_capabilities() lists them under evidence_sources * Unknown source names warn, suggesting the internal name if there is one * Tests for the lists, the filters, and the warning Co-Authored-By: Claude <noreply@anthropic.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 18 minutes. View limit detailsLimit details: You’ve used the included review currently available. Review configuration: ⚙️ Run configuration
📒 Files selected for processing (11)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## devel #131 +/- ##
==========================================
+ Coverage 86.97% 87.07% +0.09%
==========================================
Files 24 24
Lines 2757 2778 +21
==========================================
+ Hits 2398 2419 +21
Misses 359 359 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
4 tasks done
tonywu1999
deleted the
MSstatsBioNet/work/20261009_phase5b-evidence-sources
branch
October 9, 2026 19:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
INDRA_DATABASE_SOURCES(22 curated databases) andINDRA_TEXT_MINED_SOURCES(11 text-mining systems), documented on?indra_evidence_sources.get_network(indra, entities, evidence_sources = INDRA_DATABASE_SOURCES)keeps only edges with curated-database evidence.psp,pc,pe,vhn,bel_lc), fromdb_sources/reader_sourcesinindra.util.statement_presentation(INDRA 1.23.0), the module INDRA CoGEx uses. These are the keys CoGEx returns insource_counts; theSOURCE_INFOnames (phosphosite,biopax, ...) never appear there, so filtering on them would silently drop PhosphoSitePlus and Pathway Commons evidence.backend_capabilities(indra_backend())$evidence_sourcesreturnslist(database =, text_mined =).Use "psp" for "phosphosite". This also applies togetSubnetworkFromIndra(sources_filter =).expect_backend_contract()checks the shape ofevidence_sourceswhen a backend reports it.Phase 5b of the API refactor. No new dependencies.
Test plan
devtools::test(): 1082 pass, 0 faildevtools::check(): 0 errors, 0 warnings, 1 pre-existing NOTE (MSstats in Depends not imported)indraResponse.rds; capabilities; filtering by each list; warning with the alias hint and for an unknown namesource_countskey is in the two lists?indra_evidence_sourcesexample against live INDRA: 31 edges, 16 with database evidence, 19 with text-mined evidenceCo-Authored-By: Claude noreply@anthropic.com