https://github.com/cytoscape/network-merge

Core App: Network Merge

https://github.com/cytoscape/network-merge

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    7 of 23 committers (30.4%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.4%) to scientific vocabulary

Keywords from Contributors

cytoscape archival projection network-analysis network-biology systems-biology identifier-mapping interactive generic sequences
Last synced: 11 months ago · JSON representation

Repository

Core App: Network Merge

Basic Info
  • Host: GitHub
  • Owner: cytoscape
  • License: lgpl-2.1
  • Language: Java
  • Default Branch: master
  • Size: 2.37 MB
Statistics
  • Stars: 1
  • Watchers: 18
  • Forks: 3
  • Open Issues: 0
  • Releases: 0
Created almost 11 years ago · Last pushed almost 2 years ago
Metadata Files
Readme License

README.md

Cytoscape Core App: Network Merge

Introduction

This is a Cytoscape Core App for merging networks

How to build

bash git clone https://github.com/cytoscape/network-merge.git mvn clean install

Test cases

Test cases are contained in the /src/test/resources directory. These include cases for:

  • 1, 2, and 3 network merge for undirected/directed networks
  • Single network merge for mixed network

There are three different types of merge - union, intersection, and difference. Union is available for 1, 2, and 3 network merges, while intersection is available for all merges involving two or more networks. Difference is only applicable to two network merges.

Within difference, there are two options - "Only remove nodes if all their edges are being subtracted, too" and "Remove all nodes that are in the second network". Our test cases refer to these as Difference A and Difference B respectively.Also, our test cases include expected results for both possible difference merges - those being Network 1 - Network 2 and Network 2 - Network 1.

Each test case is in its own session file - this includes the input and expected output networks for each merge type. To verify correct results for directed/undirected networks, you will need to run the appropriate merge on the input networks using Tools-Merge-Networks... Then, export both the expected results and the actual results networks as SIF files (File-Export-Network...).

Finally, sort both SIF files using Excel or similar such that source/target pairs are in the same order. For undirected networks, you will first need to use a macro of some sort to sort each row horizontally so that source-target pairs are in the same order. For mixed networks, you will need to verify by hand - note that directedness can only be seen in the network XGMML as of Cytoscape 3.4, and an undirected edge will never merge with a directed edge.

Once this is done, you can compare the two SIF files using diff (or similar). If you want to compare attribute output as well as network output, you can instead export an XGMML file and use Excel to sort that by source-target pairs in a similar fashion. However, there are known issues with attribute merge, so the expected results here may not match the actual results.

TODO: Automate test case verification using JUnit tests.

Owner

  • Name: Cytoscape Consortium
  • Login: cytoscape
  • Kind: organization

GitHub Events

Total
Last Year

Committers

Last synced: 12 months ago

All Time
  • Total Commits: 176
  • Total Committers: 23
  • Avg Commits per committer: 7.652
  • Development Distribution Score (DDS): 0.841
Past Year
  • Commits: 3
  • Committers: 2
  • Avg Commits per committer: 1.5
  • Development Distribution Score (DDS): 0.333
Top Committers
Name Email Commits
Keiichiro Ono k****o@g****m 28
mes m****s@0****5 22
kono k****o@0****5 22
Tim Hull t****l@u****u 19
Scooter Morris s****r@c****u 11
Christian Lopes c****s@g****m 11
apico a****o@0****5 11
AdamStuart a****r@g****u 10
Adam Treister a****r@g****m 7
jm jm@0****5 6
jgao j****o@0****5 6
Oriol Guitart o****t@p****r 4
Yihang Xin y****n@g****u 4
Tim Hull t****l@e****u 3
Jason Montojo j****z@g****m 2
pwang p****g@0****5 2
David Welker d****r@u****u 2
rodche r****e@0****5 1
rozagh r****h@0****5 1
slotia s****a@0****5 1
dependabot[bot] 4****] 1
Yihang Xin 4****x 1
D Otasek d****v@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 12 months ago