Tchanders / NetworkInference.jl

Methods for inferring undirected networks from data
Other
44 stars 14 forks source link

Make naming scheme more generic #8

Closed Tchanders closed 7 years ago

Tchanders commented 7 years ago

Avoid the use of specifically biological terms. Also improve on some of the more ambiguous names. This involves quite a few API changes:

Gene -> Node Gene.name -> Node.label Gene.discretized_values -> Node.binned_values Edge.genes -> Edge.nodes Edge.confidence -> Edge.weight NetworkAnalysis -> InferredNetwork NetworkAnalysis.genes -> InferredNetwork.edges get_genes -> get_nodes

infer_network

codecov-io commented 7 years ago

Codecov Report

Merging #8 into master will increase coverage by 0.74%. The diff coverage is 81.7%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #8      +/-   ##
==========================================
+ Coverage    83.7%   84.44%   +0.74%     
==========================================
  Files           3        4       +1     
  Lines         135      135              
==========================================
+ Hits          113      114       +1     
+ Misses         22       21       -1
Impacted Files Coverage Δ
src/NetworkInference.jl 100% <ø> (ø)
src/common.jl 100% <100%> (ø) :arrow_up:
src/infer_network.jl 26.92% <31.57%> (+0.99%) :arrow_up:
src/network_inference.jl 97.97% <96.29%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 7d09cc3...e692a2e. Read the comment docs.