dlcole3 / DataGraphs.jl

MIT License
0 stars 0 forks source link

Added functions for pathway analysis, refactored src, and added function tests #30

Closed dlcole3 closed 1 year ago

dlcole3 commented 1 year ago

I added functions to find the path between two sets of nodes and between two sets of nodes that passes through an intermediate node. Also added tests for these functions and added functions for converting a list of nodes to a list of their corresponding indices and vice versa.

Refactored the source code so that the functions that apply to DataGraphUnions are in main src folder rather than in the DataGraph subfolder.

Added tests for all the functions in the functions.jl file.

codecov[bot] commented 1 year ago

Codecov Report

Merging #30 (ae4d998) into main (2b0f72f) will increase coverage by 4.71%. The diff coverage is 92.35%.

@@            Coverage Diff             @@
##             main      #30      +/-   ##
==========================================
+ Coverage   86.29%   91.00%   +4.71%     
==========================================
  Files           8        9       +1     
  Lines        1350     1457     +107     
==========================================
+ Hits         1165     1326     +161     
+ Misses        185      131      -54     
Impacted Files Coverage Δ
src/datagraphs/core.jl 85.62% <ø> (-0.80%) :arrow_down:
src/datagraphs/interface.jl 100.00% <ø> (ø)
src/functions.jl 92.00% <91.73%> (+92.00%) :arrow_up:
src/interface.jl 93.02% <93.02%> (ø)
src/DataGraphs.jl 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.