Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DisBalance

Data and codes for DisBalance web-server

Balance transformation

import subprocess


otu_file='./input/D003093/otu_table.xls' 
sample_file='./input/D003093/sample_data.xls.diseaseId.csv'
dlimits=0.0001

Rcmd='Rscript ./bin/run_distal_DBA.R {} {} {}'.format( 
                        otu_file, sample_file, dlimits)
subprocess.run(Rcmd, shell=True)

Model building risk Prediction

refer to mMAL

The performance of the model

The comparison between the different over-sampling algorithms.

script: robust_measure_performance_nested.py output/Compare_overSampling_algorithms/

Independent datasets test

output dir: output/QuinnNestedCV/

Biomarker Discovery

import subprocess

lrcoefile='./input/D003093/otu_table.xls.balance.csv.LogisticRegression.hypertuned.coef.newids.csv' 
sbpf='./input/D003093/otu_table.xls.balance.sbp.csv'
MicroPhenoDBfile='./input/MicroPhenoDB.GI.ncbitaxid.xls'
Mesh2diseasef='./input/GMrepoMeshIDdiseaseUniq.xls'
topn=10
outdir='./output'

Rcmdtop='Rscript /opt/services/djangoapp/src/mAML/balance/dashApps/utils/run_topbalance2evidence.R {} {} {} {} {} {}'.format(
    lrcoefile, sbpf, MicroPhenoDBfile,Mesh2diseasef,str(topn),outdir) 

subprocess.run(Rcmdtop, shell=True)

About

Data and codes for GutBalance web-server

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages