Git Product home page Git Product logo

adbrainnexus's Introduction

AD gene prediction

This repository provides source codes to build the model for predicting AD-associated genes and to make predictions. The model is built using Ridge regression. The feature vectors of training and test genes are extracted from the ADBrainNexus network, which is available at https://zenodo.org/record/5594149.

1. Usage

(1) After this repository is downloaded and unzipped, go into the folder.

(2) We have created a python script, named 'AD_gene_pred.py', which includes all source codes (i) to build the model for predicting AD-associated genes and (ii) to make predictions. Assuming that you are currently in the downloaded folder, just run the following command and you will be able to built a model and make predictions:

 
 python AD_gene_pred.py output data/integrated_feature.txt  10
 

In the above commands, the third input, i.e. 10, represents the times of random sampling to build sub-models: in each random sampling, negative genes shuffle for modeling. 5-fold CV is performed on the combined set of the positives and the sampled negatives. The sub-models built during CV are used to rank all human genes.

Note: The three modules, which are pandas, numpy and sklearn, need to be installed before running the script.

(3) After running the script, the prediction results will be saved to the file named 'prediction.txt', in which each row contains a gene and the predicted regression value that measures the level for the gene to be associated with AD.

2. Contact

If you have any questions, please contact us:
Cuixiang Lin, [email protected]
Jianxin Wang, [email protected]

adbrainnexus's People

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.