Skip to content

swiri021/Threaded_gsZscore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Threaded_gsZscore

Threaded Gene-set Zscore(Or Pathway Score) by using decorator.

Reference

Pathway and gene-set activation measurement from mRNA expression data: the tissue distribution of human pathways

Example :

import pandas as pd
from cls.thread_zscore import calculator

####Load example
df = pd.read_csv('Input_Example/Example.csv', index_col=0)
df.index = df.index.astype(int).astype(str)


#### Init Class and check input file
zscore_calculator = calculator(df)

#### Input list should be EntrezIDs(Pathways)
result = zscore_calculator.gs_zscore(nthread=4, gene_set=['9480', '367', '2137'])
print result

About

Threaded Geneset Zscore by using decorator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages