PathwayAndDataAnalysis / TF-Analysis

GNU Lesser General Public License v2.1
0 stars 0 forks source link

Rank Based Transcription Factor Analysis

Introduction

The fundamental structure of this algorithm can be described as follows: initially, it randomly selects the combined number of up-regulated and down-regulated targets from the maximum possible rank. For instance, consider a symbol with 15 up-regulated and 3 down-regulated targets, and a maximum possible rank of 414. In this situation, the algorithm selects 18 random integers from the range of 0 to 414 and generates a secondary list representing the reverse ranking of the 18 randomly chosen numbers. Subsequently, it identifies the cumulative up-regulated and down-regulated targets from the 18 randomly chosen ranks, considering both the positive and negative perspectives. The lesser value among these two perspectives is deemed the final rank-sum for the given symbol.

Requirements

Installation

git clone https://github.com/PathwayAndDataAnalysis/TF-Analysis.git
cd TF-Analysis/main

python tf_analysis.py -cp sim_data/simulated_network.tsv -sc dim_data/simulated_data.tsv -iters 100000 -o sim_data/result.tsv -sim 1

License

GNU LESSER GENERAL PUBLIC LICENSE