egeulgen / pathfindR

pathfindR: Enrichment Analysis Utilizing Active Subnetworks
https://egeulgen.github.io/pathfindR/
Other
177 stars 25 forks source link

score_terms Gene_Symbol capitalization problem #186

Closed limey-bean closed 6 months ago

limey-bean commented 6 months ago

This is an awesome tool! Thanks for making it!

I discovered the following while playing around with different datasets:

If the exp_mat submitted to score_terms() has Gene_symbols that are partially lowercase, then line 118 in scoring.R will generate an empty matrix even if there are gene overlaps between the exp_mat and the enrichment_table.

It would be good to add that to the documentation or automatically turn the Gene_Symbols in the exp_mat to uppers.

Thanks!