Giter VIP home page Giter VIP logo

pacer's Introduction

PACER

The code is written in MATLAB.

Please run DCA_embedding in the src folder

We need two input files to run the code NetList.

Network file

The first one is a network file (e.g., PPI network, co-expression network). An example is the 'Network.txt' in the data folder.

Format:

202      2173    0.588
2173    202      0.588
204      901      0.001
901      204      0.001

In each network file, each row contains three numbers, representing an edge in the network. The first two numbers are gene IDs and the third is the edge weight.

Pathway-gene association file

The second file is a pathway-gene association file. An example is the 'Pathway_property.txt' in the data folder.

Format:

1487      2      1
3713      2      1
4201      2      1

The first number is the pathway ID, and the second number is the gene ID. The third number is the edge weight.

Usage: Please put the network file and pathway association file in ./data/ Running DCA_embedding.m will generate embedding vectors in ./results/ for each gene.

Final pathway rankings.

Then, please run the Python script to get the final pathway ranking based on the embedding vector.

python embedding_top_pathways.py [-h] -f EMBED_FNAME -p PATH_FNAME -d DRUG_FNAME -i PATH_IDX_FNAME -g GENE_IDX_FNAME

For the sample data, use

python embedding_top_pathways.py -f ./result/Network.txt_net_50_0.5.U -p ./data/pathway_genes.txt -d ./data/drug_gene_correlations.json -i ./data/pathway_indices.txt -g ./data/gene_indices.txt

The tool will soon be integrated into UIUC KnowEng interface.

pacer's People

Contributors

ewhuang avatar wangshenguiuc avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.