FNatPred is a tool that can ensemble prediction information from multiple machine learning models on tumor fungal data to detecte NAT. It can also be used to predict other binary classification tasks, such as individual cancer types versus each other, Stage I vs. Stage IV, Primary Tumor vs. Solid Tissue Normal.
- python==3.7
- pandas==1.3.5
- xgboost==1.5.1
- lightgbm==3.1.1
- catboost==1.1.1
- matplotlib==3.4.3
- scikit-learn==1.0.2
- numpy==1.21.5
- scipy==1.7.3
On the top right of the main repository page, click the button followed by the button to download the entire repository. Code ▼ Download ZIP
Breast_TumorvsNAT_cv.py -> Five_Fold-Average-Results of our model FNatPred and other models in the breast tumor data.
Breast_TumorvsNAT_multi_model_plot.py -> Visualization of our model FNatPred and other models for NAT Detection in the breast tumor data.
Lung_TumorvsNAT_cv.py -> Five_Fold-Average-Results of our model FNatPred and other models in the lung tumor data.
Lung_TumorvsNAT_muti_model_plot.py -> Visualization of our model FNatPred and other models for NAT Detection in the lung tumor data.
1vsALL_pancancers.py -> Comparison of Results between our model FNatPred and other models on Multiple Tumor Types data in the Task
IvsIV_pancancers.py -> Comparison of Results between our model FNatPred and other models on Multiple Tumor Types data in the Task
TumorvsNormal_pancancers.py -> Comparison of Results between our model FNatPred and other models on Partial Tumor Type data
TumorvsNormal_combine.py -> Execute after TumorvsNormal_pancancers.py to obtain more tumor type data
To train FNatPred, two files are required as input including fungal features (e.g. species,gene, etc.) and diseases labels.
-
fungal features (required)
SampleID Species_1 Species_2 ... Species_m Sample_1 0 2467 ... 7694 Sample_2 25600 0 ... 0 ... ... ... ... ... Sample_n 0 0 ... 0 -
Tumor labels (required)
SampleID tumor_1 NAT Sample_1 0 1 Sample_2 1 0 ... ... ... Sample_n 1 0
Then you can run the .py for each tasks.
All problems please contact
Dongmei He Email:hedongmei@hainanu.edu.cn
Shankai Yan Email: skyan@hainanu.edu.cn