From c4f926438dcb8abe805e910399940f79ff643c4b Mon Sep 17 00:00:00 2001 From: ziejd2 Date: Thu, 14 Sep 2017 15:39:41 -0500 Subject: Add files via upload --- sourcecodes/BNW_overview.png | Bin 0 -> 64748 bytes sourcecodes/BNW_workflow_1.htm | 645 ++++ sourcecodes/BNW_workflow_2.htm | 731 +++++ sourcecodes/BNW_workflow_net1.htm | 385 +++ sourcecodes/BNW_workflow_sci.htm | 389 +++ .../8node_best_structure.jpg | Bin 0 -> 72920 bytes .../BNW_workflow_test_files/8node_file_upload.jpg | Bin 0 -> 84140 bytes .../BNW_workflow_test_files/8node_geno1_2.jpg | Bin 0 -> 75146 bytes .../8node_global_settings.jpg | Bin 0 -> 24453 bytes .../BNW_workflow_test_files/8node_matrix.jpg | Bin 0 -> 107678 bytes .../8node_model_avg_struct.jpg | Bin 0 -> 71078 bytes .../BNW_workflow_test_files/8node_trait2_15.jpg | Bin 0 -> 68817 bytes .../BNW_workflow_test_files/colorschememapping.xml | 2 + sourcecodes/BNW_workflow_test_files/filelist.xml | 32 + sourcecodes/BNW_workflow_test_files/image003.jpg | Bin 0 -> 25024 bytes sourcecodes/BNW_workflow_test_files/image003.png | Bin 0 -> 409885 bytes sourcecodes/BNW_workflow_test_files/image004.jpg | Bin 0 -> 10468 bytes sourcecodes/BNW_workflow_test_files/image005.png | Bin 0 -> 328209 bytes sourcecodes/BNW_workflow_test_files/image006.jpg | Bin 0 -> 31035 bytes sourcecodes/BNW_workflow_test_files/image007.png | Bin 0 -> 343122 bytes sourcecodes/BNW_workflow_test_files/image008.jpg | Bin 0 -> 57052 bytes sourcecodes/BNW_workflow_test_files/image009.png | Bin 0 -> 356293 bytes sourcecodes/BNW_workflow_test_files/image010.jpg | Bin 0 -> 39597 bytes sourcecodes/BNW_workflow_test_files/image011.png | Bin 0 -> 352085 bytes sourcecodes/BNW_workflow_test_files/image012.jpg | Bin 0 -> 39439 bytes sourcecodes/BNW_workflow_test_files/image013.png | Bin 0 -> 353574 bytes sourcecodes/BNW_workflow_test_files/image014.jpg | Bin 0 -> 42653 bytes sourcecodes/BNW_workflow_test_files/image015.png | Bin 0 -> 293825 bytes sourcecodes/BNW_workflow_test_files/image016.jpg | Bin 0 -> 57313 bytes sourcecodes/BNW_workflow_test_files/image017.png | Bin 0 -> 265027 bytes sourcecodes/BNW_workflow_test_files/image018.jpg | Bin 0 -> 16843 bytes sourcecodes/BNW_workflow_test_files/image019.png | Bin 0 -> 268785 bytes sourcecodes/BNW_workflow_test_files/image020.jpg | Bin 0 -> 19598 bytes sourcecodes/BNW_workflow_test_files/image021.png | Bin 0 -> 382470 bytes sourcecodes/BNW_workflow_test_files/image022.jpg | Bin 0 -> 19696 bytes sourcecodes/BNW_workflow_test_files/image023.png | Bin 0 -> 378421 bytes sourcecodes/BNW_workflow_test_files/image024.jpg | Bin 0 -> 16730 bytes sourcecodes/BNW_workflow_test_files/image025.png | Bin 0 -> 374160 bytes sourcecodes/BNW_workflow_test_files/image026.jpg | Bin 0 -> 15680 bytes sourcecodes/BNW_workflow_test_files/image033.png | Bin 0 -> 485570 bytes sourcecodes/BNW_workflow_test_files/image039.jpg | Bin 0 -> 15726 bytes sourcecodes/BNW_workflow_test_files/image2_1.jpg | Bin 0 -> 39600 bytes sourcecodes/BNW_workflow_test_files/image2_2.jpg | Bin 0 -> 39297 bytes sourcecodes/BNW_workflow_test_files/image2_3.jpg | Bin 0 -> 41304 bytes sourcecodes/BNW_workflow_test_files/image2_4.jpg | Bin 0 -> 45307 bytes sourcecodes/BNW_workflow_test_files/image2_5.jpg | Bin 0 -> 51969 bytes sourcecodes/BNW_workflow_test_files/image2_6.jpg | Bin 0 -> 56987 bytes .../BNW_workflow_test_files/sci_5node_network1.jpg | Bin 0 -> 78402 bytes .../BNW_workflow_test_files/sci_5node_part1.jpg | Bin 0 -> 22188 bytes .../BNW_workflow_test_files/sci_5node_part2.jpg | Bin 0 -> 27195 bytes .../BNW_workflow_test_files/sci_5node_part3.jpg | Bin 0 -> 44105 bytes .../BNW_workflow_test_files/sci_5node_upload.jpg | Bin 0 -> 46463 bytes sourcecodes/BNW_workflow_test_files/themedata.thmx | Bin 0 -> 3081 bytes sourcecodes/add_evd.php | 204 ++ sourcecodes/add_evd_example.php | 204 ++ sourcecodes/add_inv.php | 262 ++ sourcecodes/add_inv_example.php | 251 ++ sourcecodes/bn_file_load_gom.php | 401 +++ sourcecodes/build.sh | 9 + sourcecodes/clear.php | 20 + sourcecodes/clear_example.php | 20 + sourcecodes/create_tiers_gom.php | 1034 +++++++ sourcecodes/data/Backupfiles/evidencemodified | Bin 0 -> 452271 bytes sourcecodes/data/Backupfiles/initialstructure | Bin 0 -> 452404 bytes sourcecodes/data/Backupfiles/newintervention | Bin 0 -> 452401 bytes sourcecodes/data/Backupfiles/temp_evidence_file | 36 + .../data/Backupfiles/temp_intervention_file | 36 + .../Backupfiles/temp_shell_file_initial_structure | 36 + sourcecodes/data/evidencemodified | Bin 0 -> 452271 bytes sourcecodes/data/example1/Bqxban.txt | 1 + sourcecodes/data/example1/Bqxcontinuous_input.txt | 203 ++ sourcecodes/data/example1/Bqxgraphviz.txt | 12 + sourcecodes/data/example1/Bqxk.txt | 1 + sourcecodes/data/example1/Bqxmap.txt | 8 + sourcecodes/data/example1/Bqxmapdata.txt | 1 + sourcecodes/data/example1/Bqxname.txt | 1 + sourcecodes/data/example1/Bqxnet_figure.txt | 652 +++++ sourcecodes/data/example1/Bqxnlevels.txt | 4 + sourcecodes/data/example1/Bqxnnode.txt | 1 + sourcecodes/data/example1/Bqxnrows.txt | 1 + sourcecodes/data/example1/Bqxparent.txt | 1 + .../data/example1/Bqxrun_initialstructure.sh | 38 + sourcecodes/data/example1/Bqxstructure_input.txt | 9 + .../data/example1/Bqxstructure_input_temp.txt | 9 + sourcecodes/data/example1/Bqxstructure_old.txt | 7 + sourcecodes/data/example1/Bqxthr.txt | 1 + sourcecodes/data/example1/Bqxtier.txt | 1 + sourcecodes/data/example1/Bqxtype.txt | 2 + sourcecodes/data/example1/Bqxwhite.txt | 1 + sourcecodes/data/example1/standardized_data.txt | 201 ++ sourcecodes/data/example2/hQGban.txt | 1 + sourcecodes/data/example2/hQGcontinuous_input.txt | 203 ++ sourcecodes/data/example2/hQGgraphviz.txt | 11 + sourcecodes/data/example2/hQGk.txt | 1 + sourcecodes/data/example2/hQGmap.txt | 8 + sourcecodes/data/example2/hQGmapdata.txt | 1 + sourcecodes/data/example2/hQGname.txt | 1 + sourcecodes/data/example2/hQGnet_figure.txt | 652 +++++ sourcecodes/data/example2/hQGnlevels.txt | 4 + sourcecodes/data/example2/hQGnnode.txt | 1 + sourcecodes/data/example2/hQGnrows.txt | 1 + sourcecodes/data/example2/hQGparent.txt | 1 + .../data/example2/hQGrun_initialstructure.sh | 38 + sourcecodes/data/example2/hQGstructure_input.txt | 9 + .../data/example2/hQGstructure_input_temp.txt | 9 + sourcecodes/data/example2/hQGstructure_old.txt | 7 + sourcecodes/data/example2/hQGthr.txt | 1 + sourcecodes/data/example2/hQGtier.txt | 1 + sourcecodes/data/example2/hQGtype.txt | 2 + sourcecodes/data/example2/hQGwhite.txt | 1 + sourcecodes/data/example2/standardized_data.txt | 201 ++ .../data/example_chl/bWRcontinuous_input.txt | 44 + sourcecodes/data/example_chl/bWRgraphviz.txt | 11 + sourcecodes/data/example_chl/bWRmap.txt | 5 + sourcecodes/data/example_chl/bWRmapdata.txt | 1 + sourcecodes/data/example_chl/bWRname.txt | 1 + sourcecodes/data/example_chl/bWRnet_figure.txt | 433 +++ sourcecodes/data/example_chl/bWRnet_figure_new.txt | 433 +++ sourcecodes/data/example_chl/bWRnlevels.txt | 2 + sourcecodes/data/example_chl/bWRnnode.txt | 1 + .../data/example_chl/bWRrun_evidencemodified.sh | 38 + .../data/example_chl/bWRrun_initialstructure.sh | 38 + .../data/example_chl/bWRstructure_input.txt | 7 + sourcecodes/data/example_chl/bWRstructure_old.txt | 5 + sourcecodes/data/example_chl/bWRtype.txt | 2 + sourcecodes/data/example_chl/bWRvar.txt | 1 + sourcecodes/data/example_chl/bWRvardata.txt | 1 + sourcecodes/data/example_chl/bWRvarname.txt | 1 + sourcecodes/data/example_chr2_spleen/cuLban.txt | 51 + .../example_chr2_spleen/cuLcontinuous_input.txt | 76 + .../data/example_chr2_spleen/cuLgraphviz.txt | 32 + sourcecodes/data/example_chr2_spleen/cuLk.txt | 1 + sourcecodes/data/example_chr2_spleen/cuLmap.txt | 14 + .../data/example_chr2_spleen/cuLmapdata.txt | 1 + sourcecodes/data/example_chr2_spleen/cuLname.txt | 1 + .../data/example_chr2_spleen/cuLnet_figure.txt | 1387 +++++++++ .../data/example_chr2_spleen/cuLnet_figure_new.txt | 1288 ++++++++ .../data/example_chr2_spleen/cuLnlevels.txt | 2 + sourcecodes/data/example_chr2_spleen/cuLnnode.txt | 1 + sourcecodes/data/example_chr2_spleen/cuLnrows.txt | 1 + sourcecodes/data/example_chr2_spleen/cuLparent.txt | 1 + .../example_chr2_spleen/cuLrun_evidencemodified.sh | 38 + .../example_chr2_spleen/cuLrun_initialstructure.sh | 38 + .../example_chr2_spleen/cuLstructure_input.txt | 15 + .../cuLstructure_input_temp.txt | 15 + .../data/example_chr2_spleen/cuLstructure_old.txt | 14 + sourcecodes/data/example_chr2_spleen/cuLthr.txt | 1 + sourcecodes/data/example_chr2_spleen/cuLtier.txt | 1 + sourcecodes/data/example_chr2_spleen/cuLtype.txt | 2 + sourcecodes/data/example_chr2_spleen/cuLwhite.txt | 1 + .../data/example_sci/LluOyOgrviz_name_file.txt | 6 + sourcecodes/data/example_sci/Lluban.txt | 15 + .../data/example_sci/Llucontinuous_input.txt | 503 ++++ sourcecodes/data/example_sci/Llugraphviz.txt | 10 + sourcecodes/data/example_sci/Lluk.txt | 1 + sourcecodes/data/example_sci/Llumap.txt | 5 + sourcecodes/data/example_sci/Llumapdata.txt | 1 + sourcecodes/data/example_sci/Lluname.txt | 1 + sourcecodes/data/example_sci/Llunet_figure.txt | 433 +++ sourcecodes/data/example_sci/Llunet_figure_new.txt | 433 +++ sourcecodes/data/example_sci/Llunlevels.txt | 2 + sourcecodes/data/example_sci/Llunnode.txt | 1 + sourcecodes/data/example_sci/Llunrows.txt | 1 + sourcecodes/data/example_sci/Lluparent.txt | 1 + .../data/example_sci/Llurun_evidencemodified.sh | 38 + .../data/example_sci/Llurun_initialstructure.sh | 38 + .../data/example_sci/Llustructure_input.txt | 6 + .../data/example_sci/Llustructure_input_temp.txt | 6 + sourcecodes/data/example_sci/Llustructure_old.txt | 5 + sourcecodes/data/example_sci/Lluthr.txt | 1 + sourcecodes/data/example_sci/Llutier.txt | 1 + sourcecodes/data/example_sci/Llutype.txt | 2 + sourcecodes/data/example_sci/Lluvar.txt | 1 + sourcecodes/data/example_sci/Lluvardata.txt | 1 + sourcecodes/data/example_sci/Lluvarname.txt | 1 + sourcecodes/data/example_sci/Lluwhite.txt | 1 + sourcecodes/data/example_sci_bk/Lluban.txt | 15 + .../data/example_sci_bk/Llucontinuous_input.txt | 503 ++++ sourcecodes/data/example_sci_bk/Llugraphviz.txt | 10 + sourcecodes/data/example_sci_bk/Lluk.txt | 1 + sourcecodes/data/example_sci_bk/Llumap.txt | 5 + sourcecodes/data/example_sci_bk/Llumapdata.txt | 1 + sourcecodes/data/example_sci_bk/Lluname.txt | 1 + sourcecodes/data/example_sci_bk/Llunet_figure.txt | 433 +++ .../data/example_sci_bk/Llunet_figure_new.txt | 433 +++ sourcecodes/data/example_sci_bk/Llunlevels.txt | 2 + sourcecodes/data/example_sci_bk/Llunnode.txt | 1 + sourcecodes/data/example_sci_bk/Llunrows.txt | 1 + sourcecodes/data/example_sci_bk/Lluparent.txt | 1 + .../data/example_sci_bk/Llurun_evidencemodified.sh | 38 + .../data/example_sci_bk/Llurun_initialstructure.sh | 38 + .../data/example_sci_bk/Llustructure_input.txt | 6 + .../example_sci_bk/Llustructure_input_temp.txt | 6 + .../data/example_sci_bk/Llustructure_old.txt | 5 + sourcecodes/data/example_sci_bk/Lluthr.txt | 1 + sourcecodes/data/example_sci_bk/Llutier.txt | 1 + sourcecodes/data/example_sci_bk/Llutype.txt | 2 + sourcecodes/data/example_sci_bk/Lluvar.txt | 1 + sourcecodes/data/example_sci_bk/Lluvardata.txt | 1 + sourcecodes/data/example_sci_bk/Lluvarname.txt | 1 + sourcecodes/data/example_sci_bk/Lluwhite.txt | 1 + sourcecodes/data/example_time_series/TEbban.txt | 73 + .../example_time_series/TEbcontinuous_input.txt | 503 ++++ .../data/example_time_series/TEbgraphviz.txt | 11 + sourcecodes/data/example_time_series/TEbk.txt | 1 + sourcecodes/data/example_time_series/TEbmap.txt | 10 + .../data/example_time_series/TEbmapdata.txt | 1 + sourcecodes/data/example_time_series/TEbname.txt | 1 + .../data/example_time_series/TEbnet_figure.txt | 963 ++++++ .../data/example_time_series/TEbnet_figure_new.txt | 864 ++++++ .../data/example_time_series/TEbnlevels.txt | 2 + sourcecodes/data/example_time_series/TEbnnode.txt | 1 + sourcecodes/data/example_time_series/TEbnrows.txt | 1 + sourcecodes/data/example_time_series/TEbparent.txt | 1 + .../example_time_series/TEbrun_evidencemodified.sh | 38 + .../example_time_series/TEbrun_initialstructure.sh | 38 + .../example_time_series/TEbstructure_input.txt | 11 + .../TEbstructure_input_temp.txt | 11 + .../data/example_time_series/TEbstructure_old.txt | 6 + sourcecodes/data/example_time_series/TEbthr.txt | 1 + sourcecodes/data/example_time_series/TEbtier.txt | 1 + sourcecodes/data/example_time_series/TEbtype.txt | 2 + sourcecodes/data/example_time_series/TEbvar.txt | 1 + .../data/example_time_series/TEbvardata.txt | 1 + .../data/example_time_series/TEbvarname.txt | 1 + sourcecodes/data/example_time_series/TEbwhite.txt | 1 + sourcecodes/data/examplecar/OVIban.txt | 1 + .../data/examplecar/OVIcontinuous_input.txt | 1004 +++++++ sourcecodes/data/examplecar/OVIgraphviz.txt | 70 + sourcecodes/data/examplecar/OVIk.txt | 1 + sourcecodes/data/examplecar/OVImap.txt | 19 + sourcecodes/data/examplecar/OVImapdata.txt | 1 + sourcecodes/data/examplecar/OVIname.txt | 1 + sourcecodes/data/examplecar/OVInet_figure.txt | 237 ++ sourcecodes/data/examplecar/OVInet_figure_new.txt | 138 + sourcecodes/data/examplecar/OVInnode.txt | 1 + sourcecodes/data/examplecar/OVInrows.txt | 1 + sourcecodes/data/examplecar/OVIparent.txt | 1 + .../data/examplecar/OVIrun_evidencemodified.sh | 38 + .../data/examplecar/OVIrun_initialstructure.sh | 38 + sourcecodes/data/examplecar/OVIstructure_input.txt | 20 + .../data/examplecar/OVIstructure_input_temp.txt | 20 + sourcecodes/data/examplecar/OVIstructure_old.txt | 19 + sourcecodes/data/examplecar/OVIthr.txt | 1 + sourcecodes/data/examplecar/OVItype.txt | 2 + sourcecodes/data/examplecar/OVIvar.txt | 1 + sourcecodes/data/examplecar/OVIvardata.txt | 1 + sourcecodes/data/examplecar/OVIvarname.txt | 1 + sourcecodes/data/examplecar/OVIwhite.txt | 1 + .../data/examplecar15node/MtXcontinuous_input.txt | 1005 +++++++ sourcecodes/data/examplecar15node/MtXgraphviz.txt | 20 + sourcecodes/data/examplecar15node/MtXmap.txt | 15 + sourcecodes/data/examplecar15node/MtXmapdata.txt | 1 + sourcecodes/data/examplecar15node/MtXname.txt | 1 + .../data/examplecar15node/MtXnet_figure.txt | 114 + sourcecodes/data/examplecar15node/MtXnnode.txt | 1 + .../examplecar15node/MtXrun_initialstructure.sh | 38 + .../data/examplecar15node/MtXstructure_input.txt | 17 + .../data/examplecar15node/MtXstructure_old.txt | 15 + sourcecodes/data/examplecar15node/MtXtype.txt | 2 + .../data/examplecar15node/eIAcontinuous_input.txt | 1003 +++++++ sourcecodes/data/examplecar15node/eIAgraphviz.txt | 20 + sourcecodes/data/examplecar15node/eIAmap.txt | 15 + sourcecodes/data/examplecar15node/eIAmapdata.txt | 1 + sourcecodes/data/examplecar15node/eIAname.txt | 1 + .../data/examplecar15node/eIAnet_figure.txt | 114 + sourcecodes/data/examplecar15node/eIAnlevels.txt | 15 + sourcecodes/data/examplecar15node/eIAnnode.txt | 1 + .../data/examplecar15node/eIAstructure_input.txt | 17 + .../data/examplecar15node/eIAstructure_old.txt | 15 + sourcecodes/data/examplecar15node/eIAtype.txt | 2 + sourcecodes/data/examplezoo/fSfban.txt | 261 ++ .../data/examplezoo/fSfcontinuous_input.txt | 104 + sourcecodes/data/examplezoo/fSfgraphviz.txt | 61 + sourcecodes/data/examplezoo/fSfk.txt | 1 + sourcecodes/data/examplezoo/fSfmap.txt | 17 + sourcecodes/data/examplezoo/fSfmapdata.txt | 1 + sourcecodes/data/examplezoo/fSfname.txt | 1 + sourcecodes/data/examplezoo/fSfnet_figure.txt | 130 + sourcecodes/data/examplezoo/fSfnnode.txt | 1 + sourcecodes/data/examplezoo/fSfnrows.txt | 1 + sourcecodes/data/examplezoo/fSfparent.txt | 1 + .../data/examplezoo/fSfrun_initialstructure.sh | 38 + sourcecodes/data/examplezoo/fSfstructure_input.txt | 18 + .../data/examplezoo/fSfstructure_input_temp.txt | 18 + sourcecodes/data/examplezoo/fSfstructure_old.txt | 16 + sourcecodes/data/examplezoo/fSfthr.txt | 1 + sourcecodes/data/examplezoo/fSftier.txt | 1 + sourcecodes/data/examplezoo/fSftype.txt | 2 + sourcecodes/data/examplezoo/fSfwhite.txt | 1 + sourcecodes/data/examplezoo/standardized_data.txt | 102 + sourcecodes/data/initialstructure | Bin 0 -> 452404 bytes sourcecodes/data/newintervention | Bin 0 -> 452401 bytes sourcecodes/data/standardized_data.txt | 201 ++ sourcecodes/data/temp_evidence_file | 36 + sourcecodes/data/temp_intervention_file | 36 + sourcecodes/data/temp_shell_file_initial_structure | 36 + sourcecodes/example.php | 31 + .../example_datasets/example_data_8nodes.txt | 201 ++ .../example_structure_matrix_8nodes.txt | 9 + .../example_datasets/sci_5node_input_data.txt | 101 + .../example_datasets/sci_5node_input_data2.txt | 501 ++++ .../example_datasets/spleen_chr2_example_data.txt | 74 + .../example_datasets/spleen_chr2_example_data.txt~ | 76 + .../example_datasets/time_series_example.txt | 501 ++++ sourcecodes/examplefilecopy.sh | 11 + sourcecodes/examples/cardiagnosis.php | 83 + sourcecodes/examples/chl_example.php | 32 + sourcecodes/examples/my_new_style.css | 155 + sourcecodes/examples/spleen_immune_example.php | 33 + sourcecodes/examples/synthetic_example2.php | 32 + sourcecodes/examples/synthetic_example3.php | 34 + sourcecodes/execute_bn_gom.php | 98 + sourcecodes/executionprogress.php | 76 + sourcecodes/faq.php | 161 + sourcecodes/filecopy.sh | 11 + sourcecodes/getting_started.php | 33 + sourcecodes/graphviz_structure.php | 97 + sourcecodes/header_batchsearch.inc | 242 ++ sourcecodes/header_new.inc | 22 + sourcecodes/help.php | 241 ++ sourcecodes/home.php | 179 ++ sourcecodes/home_upload.php | 34 + sourcecodes/index.html | 6 + sourcecodes/js-graph-it.css | 24 + sourcecodes/js-graph-it.js | 1802 ++++++++++++ sourcecodes/k-best/index.html | 6 + sourcecodes/k-best/src/Arguments.h | 195 ++ sourcecodes/k-best/src/Engine.h | 2278 +++++++++++++++ sourcecodes/k-best/src/GenerateGraphs.sh | 7 + sourcecodes/k-best/src/Model.h | 1002 +++++++ sourcecodes/k-best/src/UpdateHR.h | 1652 +++++++++++ sourcecodes/k-best/src/UpdateHR2.h | 511 ++++ sourcecodes/k-best/src/arcToNet.cc | 233 ++ sourcecodes/k-best/src/arcs2dot.c | 60 + sourcecodes/k-best/src/buildk.sh | 23 + sourcecodes/k-best/src/buildk_poster.sh | 9 + sourcecodes/k-best/src/cfg.h | 9 + sourcecodes/k-best/src/clean.sh | 6 + sourcecodes/k-best/src/comp_pHat_D.cc | 213 ++ sourcecodes/k-best/src/data.sh | 27 + sourcecodes/k-best/src/data2net.sh | 35 + sourcecodes/k-best/src/data2netk.sh | 55 + sourcecodes/k-best/src/data2netk_poster.sh | 56 + sourcecodes/k-best/src/data2netk_poster.sh.bk | 56 + sourcecodes/k-best/src/datak.sh | 23 + sourcecodes/k-best/src/drawgraph.sh | 8 + sourcecodes/k-best/src/files.c | 59 + sourcecodes/k-best/src/files.h | 12 + sourcecodes/k-best/src/files.o | Bin 0 -> 3728 bytes sourcecodes/k-best/src/get_best_net.c | 63 + sourcecodes/k-best/src/get_best_order.c | 54 + sourcecodes/k-best/src/get_best_parents.c | 114 + sourcecodes/k-best/src/get_best_sinks.c | 78 + sourcecodes/k-best/src/get_kbest_nets | Bin 0 -> 122641 bytes sourcecodes/k-best/src/get_kbest_nets.cc | 1552 ++++++++++ sourcecodes/k-best/src/get_kbest_parents | Bin 0 -> 25198 bytes sourcecodes/k-best/src/get_kbest_parents.cc | 249 ++ sourcecodes/k-best/src/get_local_scores.h | 15 + sourcecodes/k-best/src/graph.sh | 13 + sourcecodes/k-best/src/ilogi.c | 37 + sourcecodes/k-best/src/ilogi.h | 9 + sourcecodes/k-best/src/ls_BDe.c | 163 ++ sourcecodes/k-best/src/ls_BDe.h | 12 + sourcecodes/k-best/src/ls_LOO.c | 152 + sourcecodes/k-best/src/ls_LOO.h | 10 + sourcecodes/k-best/src/ls_NML.c | 77 + sourcecodes/k-best/src/ls_NML.h | 12 + sourcecodes/k-best/src/ls_XIC.c | 82 + sourcecodes/k-best/src/ls_XIC.h | 13 + sourcecodes/k-best/src/main.cc | 51 + sourcecodes/k-best/src/net2parents.c | 50 + sourcecodes/k-best/src/parents2arcs.c | 37 + sourcecodes/k-best/src/reg.c | 320 ++ sourcecodes/k-best/src/reg.h | 7 + sourcecodes/k-best/src/score_net.c | 39 + sourcecodes/k-best/src/score_nets.c | 54 + sourcecodes/k-best/src/varpar.c | 19 + sourcecodes/k-best/src/varpar.h | 9 + sourcecodes/k-best/src/varpar.o | Bin 0 -> 1360 bytes sourcecodes/k-best/src/xtab.h | 80 + sourcecodes/k_only_table.txt | 19 + sourcecodes/layout.php | 121 + sourcecodes/layout_example.php | 121 + sourcecodes/localscore/Applic.h | 291 ++ sourcecodes/localscore/Arith.h | 87 + sourcecodes/localscore/BLAS.h | 382 +++ sourcecodes/localscore/Boolean.h | 37 + sourcecodes/localscore/Callbacks.h | 116 + sourcecodes/localscore/Complex.h | 38 + sourcecodes/localscore/Constants.h | 44 + sourcecodes/localscore/Error.h | 46 + sourcecodes/localscore/GetX11Image.h | 36 + sourcecodes/localscore/GraphicsDevice.h | 863 ++++++ sourcecodes/localscore/GraphicsEngine.h | 514 ++++ sourcecodes/localscore/Lapack.h | 3072 ++++++++++++++++++++ sourcecodes/localscore/Linpack.h | 89 + sourcecodes/localscore/MathThreads.h | 39 + sourcecodes/localscore/Memory.h | 49 + sourcecodes/localscore/Parse.h | 47 + sourcecodes/localscore/Print.h | 50 + sourcecodes/localscore/PrtUtil.h | 71 + sourcecodes/localscore/QuartzDevice.h | 235 ++ sourcecodes/localscore/R-ftp-http.h | 65 + sourcecodes/localscore/R.h | 65 + sourcecodes/localscore/RConverters.h | 131 + sourcecodes/localscore/RS.h | 96 + sourcecodes/localscore/RStartup.h | 107 + sourcecodes/localscore/Random.h | 75 + sourcecodes/localscore/Rconfig.h | 20 + sourcecodes/localscore/Rdynload.h | 129 + sourcecodes/localscore/Riconv.h | 46 + sourcecodes/localscore/Rmath.h | 657 +++++ sourcecodes/localscore/Utils.h | 115 + sourcecodes/localscore/Visibility.h | 39 + sourcecodes/localscore/eventloop.h | 97 + sourcecodes/localscore/index.html | 6 + sourcecodes/localscore/libRmath.so | Bin 0 -> 204360 bytes sourcecodes/localscore/libextern.h | 48 + sourcecodes/localscore/matrix.h | 42 + sourcecodes/localscore/modified_matrix.c | 252 ++ sourcecodes/localscore/modified_postc.c | 171 ++ sourcecodes/localscore/network_score.c | 1441 +++++++++ sourcecodes/localscore/network_score_old.c | 1438 +++++++++ sourcecodes/localscore/postc0.c | 81 + sourcecodes/localscore/rlocale.h | 118 + sourcecodes/localscore/stats_package.h | 71 + sourcecodes/localscore/stats_stubs.h | 68 + sourcecodes/mat_structure.php | 78 + sourcecodes/matrix.php | 187 ++ sourcecodes/maxparent_table.txt | 19 + sourcecodes/my_new_style.css | 155 + sourcecodes/net_structure.php | 137 + sourcecodes/network_layout_evd.php | 667 +++++ sourcecodes/network_layout_evd_2.php | 961 ++++++ sourcecodes/network_layout_evd_2_example.php | 953 ++++++ sourcecodes/network_layout_evd_example.php | 651 +++++ sourcecodes/network_layout_inv.php | 664 +++++ sourcecodes/network_layout_inv_2.php | 1160 ++++++++ sourcecodes/network_layout_inv_2_example.php | 1154 ++++++++ sourcecodes/network_layout_inv_example.php | 657 +++++ sourcecodes/network_score | Bin 0 -> 44680 bytes sourcecodes/print_structure/index.html | 6 + sourcecodes/print_structure/structure.c | 97 + sourcecodes/restructuremap.php | 42 + sourcecodes/run.sh | 20 + sourcecodes/runmat.sh | 7 + sourcecodes/runmat_evd.sh | 4 + sourcecodes/runmat_inv.sh | 4 + sourcecodes/runtime_check.php | 63 + sourcecodes/sf-homepage.css | 157 + sourcecodes/structure | Bin 0 -> 9519 bytes sourcecodes/structuremap.php | 81 + sourcecodes/tier_description_processing_gom.php | 216 ++ sourcecodes/upload_structure_file.php | 315 ++ sourcecodes/workflow.php | 51 + 456 files changed, 56769 insertions(+) create mode 100644 sourcecodes/BNW_overview.png create mode 100644 sourcecodes/BNW_workflow_1.htm create mode 100644 sourcecodes/BNW_workflow_2.htm create mode 100644 sourcecodes/BNW_workflow_net1.htm create mode 100644 sourcecodes/BNW_workflow_sci.htm create mode 100644 sourcecodes/BNW_workflow_test_files/8node_best_structure.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/8node_file_upload.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/8node_geno1_2.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/8node_global_settings.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/8node_matrix.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/8node_model_avg_struct.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/8node_trait2_15.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/colorschememapping.xml create mode 100644 sourcecodes/BNW_workflow_test_files/filelist.xml create mode 100644 sourcecodes/BNW_workflow_test_files/image003.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/image003.png create mode 100644 sourcecodes/BNW_workflow_test_files/image004.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/image005.png create mode 100644 sourcecodes/BNW_workflow_test_files/image006.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/image007.png create mode 100644 sourcecodes/BNW_workflow_test_files/image008.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/image009.png create mode 100644 sourcecodes/BNW_workflow_test_files/image010.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/image011.png create mode 100644 sourcecodes/BNW_workflow_test_files/image012.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/image013.png create mode 100644 sourcecodes/BNW_workflow_test_files/image014.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/image015.png create mode 100644 sourcecodes/BNW_workflow_test_files/image016.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/image017.png create mode 100644 sourcecodes/BNW_workflow_test_files/image018.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/image019.png create mode 100644 sourcecodes/BNW_workflow_test_files/image020.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/image021.png create mode 100644 sourcecodes/BNW_workflow_test_files/image022.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/image023.png create mode 100644 sourcecodes/BNW_workflow_test_files/image024.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/image025.png create mode 100644 sourcecodes/BNW_workflow_test_files/image026.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/image033.png create mode 100644 sourcecodes/BNW_workflow_test_files/image039.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/image2_1.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/image2_2.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/image2_3.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/image2_4.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/image2_5.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/image2_6.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/sci_5node_network1.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/sci_5node_part1.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/sci_5node_part2.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/sci_5node_part3.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/sci_5node_upload.jpg create mode 100644 sourcecodes/BNW_workflow_test_files/themedata.thmx create mode 100644 sourcecodes/add_evd.php create mode 100644 sourcecodes/add_evd_example.php create mode 100644 sourcecodes/add_inv.php create mode 100644 sourcecodes/add_inv_example.php create mode 100644 sourcecodes/bn_file_load_gom.php create mode 100644 sourcecodes/build.sh create mode 100644 sourcecodes/clear.php create mode 100644 sourcecodes/clear_example.php create mode 100644 sourcecodes/create_tiers_gom.php create mode 100644 sourcecodes/data/Backupfiles/evidencemodified create mode 100644 sourcecodes/data/Backupfiles/initialstructure create mode 100644 sourcecodes/data/Backupfiles/newintervention create mode 100644 sourcecodes/data/Backupfiles/temp_evidence_file create mode 100644 sourcecodes/data/Backupfiles/temp_intervention_file create mode 100644 sourcecodes/data/Backupfiles/temp_shell_file_initial_structure create mode 100644 sourcecodes/data/evidencemodified create mode 100644 sourcecodes/data/example1/Bqxban.txt create mode 100644 sourcecodes/data/example1/Bqxcontinuous_input.txt create mode 100644 sourcecodes/data/example1/Bqxgraphviz.txt create mode 100644 sourcecodes/data/example1/Bqxk.txt create mode 100644 sourcecodes/data/example1/Bqxmap.txt create mode 100644 sourcecodes/data/example1/Bqxmapdata.txt create mode 100644 sourcecodes/data/example1/Bqxname.txt create mode 100644 sourcecodes/data/example1/Bqxnet_figure.txt create mode 100644 sourcecodes/data/example1/Bqxnlevels.txt create mode 100644 sourcecodes/data/example1/Bqxnnode.txt create mode 100644 sourcecodes/data/example1/Bqxnrows.txt create mode 100644 sourcecodes/data/example1/Bqxparent.txt create mode 100644 sourcecodes/data/example1/Bqxrun_initialstructure.sh create mode 100644 sourcecodes/data/example1/Bqxstructure_input.txt create mode 100644 sourcecodes/data/example1/Bqxstructure_input_temp.txt create mode 100644 sourcecodes/data/example1/Bqxstructure_old.txt create mode 100644 sourcecodes/data/example1/Bqxthr.txt create mode 100644 sourcecodes/data/example1/Bqxtier.txt create mode 100644 sourcecodes/data/example1/Bqxtype.txt create mode 100644 sourcecodes/data/example1/Bqxwhite.txt create mode 100644 sourcecodes/data/example1/standardized_data.txt create mode 100644 sourcecodes/data/example2/hQGban.txt create mode 100644 sourcecodes/data/example2/hQGcontinuous_input.txt create mode 100644 sourcecodes/data/example2/hQGgraphviz.txt create mode 100644 sourcecodes/data/example2/hQGk.txt create mode 100644 sourcecodes/data/example2/hQGmap.txt create mode 100644 sourcecodes/data/example2/hQGmapdata.txt create mode 100644 sourcecodes/data/example2/hQGname.txt create mode 100644 sourcecodes/data/example2/hQGnet_figure.txt create mode 100644 sourcecodes/data/example2/hQGnlevels.txt create mode 100644 sourcecodes/data/example2/hQGnnode.txt create mode 100644 sourcecodes/data/example2/hQGnrows.txt create mode 100644 sourcecodes/data/example2/hQGparent.txt create mode 100644 sourcecodes/data/example2/hQGrun_initialstructure.sh create mode 100644 sourcecodes/data/example2/hQGstructure_input.txt create mode 100644 sourcecodes/data/example2/hQGstructure_input_temp.txt create mode 100644 sourcecodes/data/example2/hQGstructure_old.txt create mode 100644 sourcecodes/data/example2/hQGthr.txt create mode 100644 sourcecodes/data/example2/hQGtier.txt create mode 100644 sourcecodes/data/example2/hQGtype.txt create mode 100644 sourcecodes/data/example2/hQGwhite.txt create mode 100644 sourcecodes/data/example2/standardized_data.txt create mode 100644 sourcecodes/data/example_chl/bWRcontinuous_input.txt create mode 100644 sourcecodes/data/example_chl/bWRgraphviz.txt create mode 100644 sourcecodes/data/example_chl/bWRmap.txt create mode 100644 sourcecodes/data/example_chl/bWRmapdata.txt create mode 100644 sourcecodes/data/example_chl/bWRname.txt create mode 100644 sourcecodes/data/example_chl/bWRnet_figure.txt create mode 100644 sourcecodes/data/example_chl/bWRnet_figure_new.txt create mode 100644 sourcecodes/data/example_chl/bWRnlevels.txt create mode 100644 sourcecodes/data/example_chl/bWRnnode.txt create mode 100644 sourcecodes/data/example_chl/bWRrun_evidencemodified.sh create mode 100644 sourcecodes/data/example_chl/bWRrun_initialstructure.sh create mode 100644 sourcecodes/data/example_chl/bWRstructure_input.txt create mode 100644 sourcecodes/data/example_chl/bWRstructure_old.txt create mode 100644 sourcecodes/data/example_chl/bWRtype.txt create mode 100644 sourcecodes/data/example_chl/bWRvar.txt create mode 100644 sourcecodes/data/example_chl/bWRvardata.txt create mode 100644 sourcecodes/data/example_chl/bWRvarname.txt create mode 100644 sourcecodes/data/example_chr2_spleen/cuLban.txt create mode 100644 sourcecodes/data/example_chr2_spleen/cuLcontinuous_input.txt create mode 100644 sourcecodes/data/example_chr2_spleen/cuLgraphviz.txt create mode 100644 sourcecodes/data/example_chr2_spleen/cuLk.txt create mode 100644 sourcecodes/data/example_chr2_spleen/cuLmap.txt create mode 100644 sourcecodes/data/example_chr2_spleen/cuLmapdata.txt create mode 100644 sourcecodes/data/example_chr2_spleen/cuLname.txt create mode 100644 sourcecodes/data/example_chr2_spleen/cuLnet_figure.txt create mode 100644 sourcecodes/data/example_chr2_spleen/cuLnet_figure_new.txt create mode 100644 sourcecodes/data/example_chr2_spleen/cuLnlevels.txt create mode 100644 sourcecodes/data/example_chr2_spleen/cuLnnode.txt create mode 100644 sourcecodes/data/example_chr2_spleen/cuLnrows.txt create mode 100644 sourcecodes/data/example_chr2_spleen/cuLparent.txt create mode 100644 sourcecodes/data/example_chr2_spleen/cuLrun_evidencemodified.sh create mode 100644 sourcecodes/data/example_chr2_spleen/cuLrun_initialstructure.sh create mode 100644 sourcecodes/data/example_chr2_spleen/cuLstructure_input.txt create mode 100644 sourcecodes/data/example_chr2_spleen/cuLstructure_input_temp.txt create mode 100644 sourcecodes/data/example_chr2_spleen/cuLstructure_old.txt create mode 100644 sourcecodes/data/example_chr2_spleen/cuLthr.txt create mode 100644 sourcecodes/data/example_chr2_spleen/cuLtier.txt create mode 100644 sourcecodes/data/example_chr2_spleen/cuLtype.txt create mode 100644 sourcecodes/data/example_chr2_spleen/cuLwhite.txt create mode 100644 sourcecodes/data/example_sci/LluOyOgrviz_name_file.txt create mode 100644 sourcecodes/data/example_sci/Lluban.txt create mode 100644 sourcecodes/data/example_sci/Llucontinuous_input.txt create mode 100644 sourcecodes/data/example_sci/Llugraphviz.txt create mode 100644 sourcecodes/data/example_sci/Lluk.txt create mode 100644 sourcecodes/data/example_sci/Llumap.txt create mode 100644 sourcecodes/data/example_sci/Llumapdata.txt create mode 100644 sourcecodes/data/example_sci/Lluname.txt create mode 100644 sourcecodes/data/example_sci/Llunet_figure.txt create mode 100644 sourcecodes/data/example_sci/Llunet_figure_new.txt create mode 100644 sourcecodes/data/example_sci/Llunlevels.txt create mode 100644 sourcecodes/data/example_sci/Llunnode.txt create mode 100644 sourcecodes/data/example_sci/Llunrows.txt create mode 100644 sourcecodes/data/example_sci/Lluparent.txt create mode 100644 sourcecodes/data/example_sci/Llurun_evidencemodified.sh create mode 100644 sourcecodes/data/example_sci/Llurun_initialstructure.sh create mode 100644 sourcecodes/data/example_sci/Llustructure_input.txt create mode 100644 sourcecodes/data/example_sci/Llustructure_input_temp.txt create mode 100644 sourcecodes/data/example_sci/Llustructure_old.txt create mode 100644 sourcecodes/data/example_sci/Lluthr.txt create mode 100644 sourcecodes/data/example_sci/Llutier.txt create mode 100644 sourcecodes/data/example_sci/Llutype.txt create mode 100644 sourcecodes/data/example_sci/Lluvar.txt create mode 100644 sourcecodes/data/example_sci/Lluvardata.txt create mode 100644 sourcecodes/data/example_sci/Lluvarname.txt create mode 100644 sourcecodes/data/example_sci/Lluwhite.txt create mode 100644 sourcecodes/data/example_sci_bk/Lluban.txt create mode 100644 sourcecodes/data/example_sci_bk/Llucontinuous_input.txt create mode 100644 sourcecodes/data/example_sci_bk/Llugraphviz.txt create mode 100644 sourcecodes/data/example_sci_bk/Lluk.txt create mode 100644 sourcecodes/data/example_sci_bk/Llumap.txt create mode 100644 sourcecodes/data/example_sci_bk/Llumapdata.txt create mode 100644 sourcecodes/data/example_sci_bk/Lluname.txt create mode 100644 sourcecodes/data/example_sci_bk/Llunet_figure.txt create mode 100644 sourcecodes/data/example_sci_bk/Llunet_figure_new.txt create mode 100644 sourcecodes/data/example_sci_bk/Llunlevels.txt create mode 100644 sourcecodes/data/example_sci_bk/Llunnode.txt create mode 100644 sourcecodes/data/example_sci_bk/Llunrows.txt create mode 100644 sourcecodes/data/example_sci_bk/Lluparent.txt create mode 100644 sourcecodes/data/example_sci_bk/Llurun_evidencemodified.sh create mode 100644 sourcecodes/data/example_sci_bk/Llurun_initialstructure.sh create mode 100644 sourcecodes/data/example_sci_bk/Llustructure_input.txt create mode 100644 sourcecodes/data/example_sci_bk/Llustructure_input_temp.txt create mode 100644 sourcecodes/data/example_sci_bk/Llustructure_old.txt create mode 100644 sourcecodes/data/example_sci_bk/Lluthr.txt create mode 100644 sourcecodes/data/example_sci_bk/Llutier.txt create mode 100644 sourcecodes/data/example_sci_bk/Llutype.txt create mode 100644 sourcecodes/data/example_sci_bk/Lluvar.txt create mode 100644 sourcecodes/data/example_sci_bk/Lluvardata.txt create mode 100644 sourcecodes/data/example_sci_bk/Lluvarname.txt create mode 100644 sourcecodes/data/example_sci_bk/Lluwhite.txt create mode 100644 sourcecodes/data/example_time_series/TEbban.txt create mode 100644 sourcecodes/data/example_time_series/TEbcontinuous_input.txt create mode 100644 sourcecodes/data/example_time_series/TEbgraphviz.txt create mode 100644 sourcecodes/data/example_time_series/TEbk.txt create mode 100644 sourcecodes/data/example_time_series/TEbmap.txt create mode 100644 sourcecodes/data/example_time_series/TEbmapdata.txt create mode 100644 sourcecodes/data/example_time_series/TEbname.txt create mode 100644 sourcecodes/data/example_time_series/TEbnet_figure.txt create mode 100644 sourcecodes/data/example_time_series/TEbnet_figure_new.txt create mode 100644 sourcecodes/data/example_time_series/TEbnlevels.txt create mode 100644 sourcecodes/data/example_time_series/TEbnnode.txt create mode 100644 sourcecodes/data/example_time_series/TEbnrows.txt create mode 100644 sourcecodes/data/example_time_series/TEbparent.txt create mode 100644 sourcecodes/data/example_time_series/TEbrun_evidencemodified.sh create mode 100644 sourcecodes/data/example_time_series/TEbrun_initialstructure.sh create mode 100644 sourcecodes/data/example_time_series/TEbstructure_input.txt create mode 100644 sourcecodes/data/example_time_series/TEbstructure_input_temp.txt create mode 100644 sourcecodes/data/example_time_series/TEbstructure_old.txt create mode 100644 sourcecodes/data/example_time_series/TEbthr.txt create mode 100644 sourcecodes/data/example_time_series/TEbtier.txt create mode 100644 sourcecodes/data/example_time_series/TEbtype.txt create mode 100644 sourcecodes/data/example_time_series/TEbvar.txt create mode 100644 sourcecodes/data/example_time_series/TEbvardata.txt create mode 100644 sourcecodes/data/example_time_series/TEbvarname.txt create mode 100644 sourcecodes/data/example_time_series/TEbwhite.txt create mode 100644 sourcecodes/data/examplecar/OVIban.txt create mode 100644 sourcecodes/data/examplecar/OVIcontinuous_input.txt create mode 100644 sourcecodes/data/examplecar/OVIgraphviz.txt create mode 100644 sourcecodes/data/examplecar/OVIk.txt create mode 100644 sourcecodes/data/examplecar/OVImap.txt create mode 100644 sourcecodes/data/examplecar/OVImapdata.txt create mode 100644 sourcecodes/data/examplecar/OVIname.txt create mode 100644 sourcecodes/data/examplecar/OVInet_figure.txt create mode 100644 sourcecodes/data/examplecar/OVInet_figure_new.txt create mode 100644 sourcecodes/data/examplecar/OVInnode.txt create mode 100644 sourcecodes/data/examplecar/OVInrows.txt create mode 100644 sourcecodes/data/examplecar/OVIparent.txt create mode 100644 sourcecodes/data/examplecar/OVIrun_evidencemodified.sh create mode 100644 sourcecodes/data/examplecar/OVIrun_initialstructure.sh create mode 100644 sourcecodes/data/examplecar/OVIstructure_input.txt create mode 100644 sourcecodes/data/examplecar/OVIstructure_input_temp.txt create mode 100644 sourcecodes/data/examplecar/OVIstructure_old.txt create mode 100644 sourcecodes/data/examplecar/OVIthr.txt create mode 100644 sourcecodes/data/examplecar/OVItype.txt create mode 100644 sourcecodes/data/examplecar/OVIvar.txt create mode 100644 sourcecodes/data/examplecar/OVIvardata.txt create mode 100644 sourcecodes/data/examplecar/OVIvarname.txt create mode 100644 sourcecodes/data/examplecar/OVIwhite.txt create mode 100644 sourcecodes/data/examplecar15node/MtXcontinuous_input.txt create mode 100644 sourcecodes/data/examplecar15node/MtXgraphviz.txt create mode 100644 sourcecodes/data/examplecar15node/MtXmap.txt create mode 100644 sourcecodes/data/examplecar15node/MtXmapdata.txt create mode 100644 sourcecodes/data/examplecar15node/MtXname.txt create mode 100644 sourcecodes/data/examplecar15node/MtXnet_figure.txt create mode 100644 sourcecodes/data/examplecar15node/MtXnnode.txt create mode 100644 sourcecodes/data/examplecar15node/MtXrun_initialstructure.sh create mode 100644 sourcecodes/data/examplecar15node/MtXstructure_input.txt create mode 100644 sourcecodes/data/examplecar15node/MtXstructure_old.txt create mode 100644 sourcecodes/data/examplecar15node/MtXtype.txt create mode 100644 sourcecodes/data/examplecar15node/eIAcontinuous_input.txt create mode 100644 sourcecodes/data/examplecar15node/eIAgraphviz.txt create mode 100644 sourcecodes/data/examplecar15node/eIAmap.txt create mode 100644 sourcecodes/data/examplecar15node/eIAmapdata.txt create mode 100644 sourcecodes/data/examplecar15node/eIAname.txt create mode 100644 sourcecodes/data/examplecar15node/eIAnet_figure.txt create mode 100644 sourcecodes/data/examplecar15node/eIAnlevels.txt create mode 100644 sourcecodes/data/examplecar15node/eIAnnode.txt create mode 100644 sourcecodes/data/examplecar15node/eIAstructure_input.txt create mode 100644 sourcecodes/data/examplecar15node/eIAstructure_old.txt create mode 100644 sourcecodes/data/examplecar15node/eIAtype.txt create mode 100644 sourcecodes/data/examplezoo/fSfban.txt create mode 100644 sourcecodes/data/examplezoo/fSfcontinuous_input.txt create mode 100644 sourcecodes/data/examplezoo/fSfgraphviz.txt create mode 100644 sourcecodes/data/examplezoo/fSfk.txt create mode 100644 sourcecodes/data/examplezoo/fSfmap.txt create mode 100644 sourcecodes/data/examplezoo/fSfmapdata.txt create mode 100644 sourcecodes/data/examplezoo/fSfname.txt create mode 100644 sourcecodes/data/examplezoo/fSfnet_figure.txt create mode 100644 sourcecodes/data/examplezoo/fSfnnode.txt create mode 100644 sourcecodes/data/examplezoo/fSfnrows.txt create mode 100644 sourcecodes/data/examplezoo/fSfparent.txt create mode 100644 sourcecodes/data/examplezoo/fSfrun_initialstructure.sh create mode 100644 sourcecodes/data/examplezoo/fSfstructure_input.txt create mode 100644 sourcecodes/data/examplezoo/fSfstructure_input_temp.txt create mode 100644 sourcecodes/data/examplezoo/fSfstructure_old.txt create mode 100644 sourcecodes/data/examplezoo/fSfthr.txt create mode 100644 sourcecodes/data/examplezoo/fSftier.txt create mode 100644 sourcecodes/data/examplezoo/fSftype.txt create mode 100644 sourcecodes/data/examplezoo/fSfwhite.txt create mode 100644 sourcecodes/data/examplezoo/standardized_data.txt create mode 100644 sourcecodes/data/initialstructure create mode 100644 sourcecodes/data/newintervention create mode 100644 sourcecodes/data/standardized_data.txt create mode 100644 sourcecodes/data/temp_evidence_file create mode 100644 sourcecodes/data/temp_intervention_file create mode 100644 sourcecodes/data/temp_shell_file_initial_structure create mode 100644 sourcecodes/example.php create mode 100644 sourcecodes/example_datasets/example_data_8nodes.txt create mode 100644 sourcecodes/example_datasets/example_structure_matrix_8nodes.txt create mode 100644 sourcecodes/example_datasets/sci_5node_input_data.txt create mode 100644 sourcecodes/example_datasets/sci_5node_input_data2.txt create mode 100644 sourcecodes/example_datasets/spleen_chr2_example_data.txt create mode 100644 sourcecodes/example_datasets/spleen_chr2_example_data.txt~ create mode 100644 sourcecodes/example_datasets/time_series_example.txt create mode 100644 sourcecodes/examplefilecopy.sh create mode 100644 sourcecodes/examples/cardiagnosis.php create mode 100644 sourcecodes/examples/chl_example.php create mode 100644 sourcecodes/examples/my_new_style.css create mode 100644 sourcecodes/examples/spleen_immune_example.php create mode 100644 sourcecodes/examples/synthetic_example2.php create mode 100644 sourcecodes/examples/synthetic_example3.php create mode 100644 sourcecodes/execute_bn_gom.php create mode 100644 sourcecodes/executionprogress.php create mode 100644 sourcecodes/faq.php create mode 100644 sourcecodes/filecopy.sh create mode 100644 sourcecodes/getting_started.php create mode 100644 sourcecodes/graphviz_structure.php create mode 100644 sourcecodes/header_batchsearch.inc create mode 100644 sourcecodes/header_new.inc create mode 100644 sourcecodes/help.php create mode 100644 sourcecodes/home.php create mode 100644 sourcecodes/home_upload.php create mode 100644 sourcecodes/index.html create mode 100644 sourcecodes/js-graph-it.css create mode 100644 sourcecodes/js-graph-it.js create mode 100644 sourcecodes/k-best/index.html create mode 100644 sourcecodes/k-best/src/Arguments.h create mode 100644 sourcecodes/k-best/src/Engine.h create mode 100644 sourcecodes/k-best/src/GenerateGraphs.sh create mode 100644 sourcecodes/k-best/src/Model.h create mode 100644 sourcecodes/k-best/src/UpdateHR.h create mode 100644 sourcecodes/k-best/src/UpdateHR2.h create mode 100644 sourcecodes/k-best/src/arcToNet.cc create mode 100644 sourcecodes/k-best/src/arcs2dot.c create mode 100644 sourcecodes/k-best/src/buildk.sh create mode 100644 sourcecodes/k-best/src/buildk_poster.sh create mode 100644 sourcecodes/k-best/src/cfg.h create mode 100644 sourcecodes/k-best/src/clean.sh create mode 100644 sourcecodes/k-best/src/comp_pHat_D.cc create mode 100644 sourcecodes/k-best/src/data.sh create mode 100644 sourcecodes/k-best/src/data2net.sh create mode 100644 sourcecodes/k-best/src/data2netk.sh create mode 100644 sourcecodes/k-best/src/data2netk_poster.sh create mode 100644 sourcecodes/k-best/src/data2netk_poster.sh.bk create mode 100644 sourcecodes/k-best/src/datak.sh create mode 100644 sourcecodes/k-best/src/drawgraph.sh create mode 100644 sourcecodes/k-best/src/files.c create mode 100644 sourcecodes/k-best/src/files.h create mode 100644 sourcecodes/k-best/src/files.o create mode 100644 sourcecodes/k-best/src/get_best_net.c create mode 100644 sourcecodes/k-best/src/get_best_order.c create mode 100644 sourcecodes/k-best/src/get_best_parents.c create mode 100644 sourcecodes/k-best/src/get_best_sinks.c create mode 100644 sourcecodes/k-best/src/get_kbest_nets create mode 100644 sourcecodes/k-best/src/get_kbest_nets.cc create mode 100644 sourcecodes/k-best/src/get_kbest_parents create mode 100644 sourcecodes/k-best/src/get_kbest_parents.cc create mode 100644 sourcecodes/k-best/src/get_local_scores.h create mode 100644 sourcecodes/k-best/src/graph.sh create mode 100644 sourcecodes/k-best/src/ilogi.c create mode 100644 sourcecodes/k-best/src/ilogi.h create mode 100644 sourcecodes/k-best/src/ls_BDe.c create mode 100644 sourcecodes/k-best/src/ls_BDe.h create mode 100644 sourcecodes/k-best/src/ls_LOO.c create mode 100644 sourcecodes/k-best/src/ls_LOO.h create mode 100644 sourcecodes/k-best/src/ls_NML.c create mode 100644 sourcecodes/k-best/src/ls_NML.h create mode 100644 sourcecodes/k-best/src/ls_XIC.c create mode 100644 sourcecodes/k-best/src/ls_XIC.h create mode 100644 sourcecodes/k-best/src/main.cc create mode 100644 sourcecodes/k-best/src/net2parents.c create mode 100644 sourcecodes/k-best/src/parents2arcs.c create mode 100644 sourcecodes/k-best/src/reg.c create mode 100644 sourcecodes/k-best/src/reg.h create mode 100644 sourcecodes/k-best/src/score_net.c create mode 100644 sourcecodes/k-best/src/score_nets.c create mode 100644 sourcecodes/k-best/src/varpar.c create mode 100644 sourcecodes/k-best/src/varpar.h create mode 100644 sourcecodes/k-best/src/varpar.o create mode 100644 sourcecodes/k-best/src/xtab.h create mode 100644 sourcecodes/k_only_table.txt create mode 100644 sourcecodes/layout.php create mode 100644 sourcecodes/layout_example.php create mode 100644 sourcecodes/localscore/Applic.h create mode 100644 sourcecodes/localscore/Arith.h create mode 100644 sourcecodes/localscore/BLAS.h create mode 100644 sourcecodes/localscore/Boolean.h create mode 100644 sourcecodes/localscore/Callbacks.h create mode 100644 sourcecodes/localscore/Complex.h create mode 100644 sourcecodes/localscore/Constants.h create mode 100644 sourcecodes/localscore/Error.h create mode 100644 sourcecodes/localscore/GetX11Image.h create mode 100644 sourcecodes/localscore/GraphicsDevice.h create mode 100644 sourcecodes/localscore/GraphicsEngine.h create mode 100644 sourcecodes/localscore/Lapack.h create mode 100644 sourcecodes/localscore/Linpack.h create mode 100644 sourcecodes/localscore/MathThreads.h create mode 100644 sourcecodes/localscore/Memory.h create mode 100644 sourcecodes/localscore/Parse.h create mode 100644 sourcecodes/localscore/Print.h create mode 100644 sourcecodes/localscore/PrtUtil.h create mode 100644 sourcecodes/localscore/QuartzDevice.h create mode 100644 sourcecodes/localscore/R-ftp-http.h create mode 100644 sourcecodes/localscore/R.h create mode 100644 sourcecodes/localscore/RConverters.h create mode 100644 sourcecodes/localscore/RS.h create mode 100644 sourcecodes/localscore/RStartup.h create mode 100644 sourcecodes/localscore/Random.h create mode 100644 sourcecodes/localscore/Rconfig.h create mode 100644 sourcecodes/localscore/Rdynload.h create mode 100644 sourcecodes/localscore/Riconv.h create mode 100644 sourcecodes/localscore/Rmath.h create mode 100644 sourcecodes/localscore/Utils.h create mode 100644 sourcecodes/localscore/Visibility.h create mode 100644 sourcecodes/localscore/eventloop.h create mode 100644 sourcecodes/localscore/index.html create mode 100644 sourcecodes/localscore/libRmath.so create mode 100644 sourcecodes/localscore/libextern.h create mode 100644 sourcecodes/localscore/matrix.h create mode 100644 sourcecodes/localscore/modified_matrix.c create mode 100644 sourcecodes/localscore/modified_postc.c create mode 100644 sourcecodes/localscore/network_score.c create mode 100644 sourcecodes/localscore/network_score_old.c create mode 100644 sourcecodes/localscore/postc0.c create mode 100644 sourcecodes/localscore/rlocale.h create mode 100644 sourcecodes/localscore/stats_package.h create mode 100644 sourcecodes/localscore/stats_stubs.h create mode 100644 sourcecodes/mat_structure.php create mode 100644 sourcecodes/matrix.php create mode 100644 sourcecodes/maxparent_table.txt create mode 100644 sourcecodes/my_new_style.css create mode 100644 sourcecodes/net_structure.php create mode 100644 sourcecodes/network_layout_evd.php create mode 100644 sourcecodes/network_layout_evd_2.php create mode 100644 sourcecodes/network_layout_evd_2_example.php create mode 100644 sourcecodes/network_layout_evd_example.php create mode 100644 sourcecodes/network_layout_inv.php create mode 100644 sourcecodes/network_layout_inv_2.php create mode 100644 sourcecodes/network_layout_inv_2_example.php create mode 100644 sourcecodes/network_layout_inv_example.php create mode 100644 sourcecodes/network_score create mode 100644 sourcecodes/print_structure/index.html create mode 100644 sourcecodes/print_structure/structure.c create mode 100644 sourcecodes/restructuremap.php create mode 100644 sourcecodes/run.sh create mode 100644 sourcecodes/runmat.sh create mode 100644 sourcecodes/runmat_evd.sh create mode 100644 sourcecodes/runmat_inv.sh create mode 100644 sourcecodes/runtime_check.php create mode 100644 sourcecodes/sf-homepage.css create mode 100644 sourcecodes/structure create mode 100644 sourcecodes/structuremap.php create mode 100644 sourcecodes/tier_description_processing_gom.php create mode 100644 sourcecodes/upload_structure_file.php create mode 100644 sourcecodes/workflow.php (limited to 'sourcecodes') diff --git a/sourcecodes/BNW_overview.png b/sourcecodes/BNW_overview.png new file mode 100644 index 00000000..67276d2a Binary files /dev/null and b/sourcecodes/BNW_overview.png differ diff --git a/sourcecodes/BNW_workflow_1.htm b/sourcecodes/BNW_workflow_1.htm new file mode 100644 index 00000000..603ad8d8 --- /dev/null +++ b/sourcecodes/BNW_workflow_1.htm @@ -0,0 +1,645 @@ + + +
+ + + + + + + + + + + + + + +This workflow will provide
+an overview of how to use BNW to:
1) Select
+a structure learning method and upload data into BNW
2) Use
+the BNW structural restraint interface
3) Make
+predictions with the network structure
1.
+Select structure learning method and uploading data into BNW
For this workflow, we are
+creating a network using a biological data set containing both continuous and
+discrete variables. The variables are a genotype (the discrete variable), three
+gene expression traits (Gene1, Gene2, Gene3), and a phenotype.
We do not know the network
+structure for this dataset, so we will first use BNW to learn the structure. Selecting
+Learn a network model from data on the BNW home page presents a list of the
+three structure learning methods that are currently implemented in BNW.
Because the network contains
+only 5 variables, we can use any of these structure learning methods. If more
+than 6 variables are present, using the global optimal search method would likely be necessary.
+We will use the exhaustive search with model averaging method in this workflow.
+More information about the structure learning methods can be found on the BNW
+help page.
After selecting the
+Exhaustive Search button, we are prompted to upload a file containing the data.
+
+
The figure
+below shows BNW after we have uploaded the data file. The first line of the
+data contains the names of the variables included in the network, while the
+remaining lines are the variable values for individual samples. A description
+of how to format data files for use in BNW can be found on the BNW help page and can be accessed by the the Data formatting guidelines option in the left menu. Additionally, two additional options, Select additional constraints or Perform Bayesian network modeling with no restraints, appear in the left menu after loading the data file.
+
2.
+Use the structural constraint interface
Here, we will use the
+structural constraint interface to help identify biologically meaningful
+network structures. Specifically, we want to investigate how the genotype
+impacts gene expression which then impacts the phenotype.
The first
+section of the structural constraint interface allows users to assign the variables
+(nodes) in the network to tiers. By default, three tiers are shown, but this
+can be changed by selecting a different number in the drop-down menu. The
+leftmost box of this section contains draggable boxes with the names of the
+variables in the network.
+
For this
+network, we want to assign Genotype to Tier1, the gene expression traits to
+Tier2, and the Phenotype to Tier3.
+
The second
+section in the structural constraint interface allows users to specify the
+types of interactions that are allowed both between and within tiers. In this
+case, we will keep the default settings, which will allow there to be edges
+between nodes within a tier, prevent nodes in Tier1 from being the child of
+Tier2 and Tier3 nodes, and prevent nodes in Tier2 from being the child of Tier2
+nodes.
The final
+section of the structural constraint interface would allow for the
+specification of particular edges that should be banned from the network or
+required to be in the network. Users can identify these edges by dragging the
+nodes to appropriate boxes. In this case, we do not want to ban or require any
+specific edges.
+
After
+entering the structural constraints, BNW will perform structure learning from
+the data after clicking Perform Bayesin network modeling on the left menu and
+present the structure of the network as shown below. Genotype, the discrete
+node, is shown as a bar chart with the bars showing the fraction of samples
+with each genotype in the data, while the other nodes are shown as lines with
+the Gaussian distributions that best fit the data.
To further
+investigate the structure of the network, users can select Display Structure
+Matrix in the left menu. This will bring up a popup windoe containing a table
+showing the confidence of each directed edge in the network after model
+averaging. For this network, all of the nodes included in the network were
+present in almost all high scoring networks, as the values of the edges are all
+near 1. BNW displays all edges with a confidence greater than 0.5 in the
+network structure. A second table in the window shows the structure matrix with
+a 1 for edges included in the structure and 0 for edges that are not included. These
+tables can be downloaded by clicking the download link.
3) Make
+predictions with the network structure
BNW can be used to both
+predict the values of variables in a network given known evidence and to
+investigate how the network might change in response to interventions. Users
+can switch between evidence and intervention modes by selecting the proper
+button on the top of the page containing the network structure.
For example,
+suppose we want to use the model to make predictions for a new sample that was
+not in the original dataset. We know that this sample was from an individual
+with Genotype=2 and want to predict the values of the genes and phenotype for
+the individual. To enter this evidence in the network, we simply click on the
+Genotype node in the network and enter 2 in the popup window.
The figure below shows the
+changes in the network after entering this evidence.The node for which evidence was entered now contains a red outline and all of the nodes in the network now contain both blue and red lines. The blue lines show the original values of the distributions, while the red lines shown the predicted values given the
+evidence. In this case, knowing that the individual had Genotype=2 would cause
+us to predict that the expression of Gene1 and the value of the phenotype would
+be above average, while the expression of Gene2 and Gene3 would be decreases.
+The specific changes in the predicted values can be investigated by hovering
+over the nodes and observing the values at the peaks of the distribution.
Evidence
+can be entered in more than one node in the network. For example, the figure
+below shows predicted values for the network after entering evidence for both
+Genotype and Gene1.
To use the
+network to predict the results of intervention, select the proper button on the
+top of the window to enter intervention mode. While evidence simply changes the
+predicted values of the other nodes in the network, intervention has a larger
+effect, as it removes the dependence of the intervened network on its parents
+and changes the network structure.
The figure
+below shows the changes in the network in BNW after intervention on Gene1 that
+results Gene1 having a low value. The predictions of the network after this
+intervention could be compared with experiments that prevent Gene1 from being
+expressed. Intervention that decreases Gene1 is predicted to result in an increase
+in Gene2 and a decrease in the phenotype. Note that Genotype and Gene3, which
+are not descendents of Gene1, are not affected by the intervention.
This workflow contains examples of using the BNW structural constraint interface to help identify biologically meaningful genetic network models for two cases:
1) A genetic network linking genotype and phenotype
2) A genetic network with multiple genotypes and cis- and trans-regulated genes
1.
+A genetic network linking genotype and phenotype
In this example, we will use the structural constraint interface to create a genetic network linking a genotype with intermediated phenotypes (i.e., gene expression or other cellular level traits) and a higher-order phenotype. The figure below shows a screenshot of BNW after loading the data file and selecting Go to structure learning settings and the BNW structural constraint interface. There are 5 nodes in the network, Genotype, Int1, Int2, Int3, and a Phenotype.
We want to assign the nodes to three tiers in this example, so we will keep the number of tiers at the default setting, and drag the nodes to the proper tiers.
In this example, we do not want the genotype to be the direct parent of the phenotype, so we made some changes to the Define interactions allowed between tiers section of the structural constraint interface. Specifically, we have unchecked two boxes that are different from the default settings: (1) we have unchecked the box that allows the node(s) in Tier1 from being the parents of the node(s) in Tier3 and (2) we have unchecked the box that allows the node(s) in Tier3 from being the children of the node(s) in Tier1. Actually, unchecking either of these boxes would have been sufficient in preventing direct interactions between Genotype and Phenotype, but, there is no harm in unchecking both boxes. There are no additional specific edges that we want to ban or require in the network, so we do not have to add any edges to the Specify additional constraint section and we can proceed with structure learning.
2.
+A genetic network with multiple genotypes and cis- and trans-regulated genes.
In this example, we will add restrictions to a network containing 8 nodes: 2 genotype nodes (Geno1 and Geno2), 3 cis-regulated gene expression traits (cisGene1, cisGene2, and cisGene3), 2 trans-regulated gene expression traits (transGene1 and transGene2), and a phenotype (Pheno). We have four tiers of nodes (genotypes, cis-regulated genes, trans-regulated genes, and phenotype), so we have selected 4 from the dropdown menu at the top of the page and assigned the nodes to the correct tiers. We could make a more complex system of tiers that would allow us to specify which genes are regulated by which genotypes (for example, Geno1 regulates cisGene1 and transGene1, while Geno2 regulates cisGene2, cisGene3, and transGene2), but, for this example, we will use a simpler system of 4 tiers.
+
We have made one change to the default setting in the Define interactions allowed between tiers section. For Tier1, which contains the genotypes, we have selected "No" for the "Are within tier interactions allowed?", as it does not make biological sense for one genotype variation to cause the variation in another genotype in this examples.
+
Assume that a known regulatory relationship between cisGene1 and transGene1 has been established from previous experiments. We can require that this relationship is included in the network by adding the edge list of required edges in the Specify additional constraints section.
+
This tutorial provides
+an overview of using BNW to build a Bayesian network model from a dataset and use the network to make predictions. The dataset used in this tutorial is a synthetic example of a genetic dataset that has a total of 8 variables. Two of the variables are genotypes labeled Geno1 and Geno2, and the remaining 6 variables are gene expression levels or other quantitative traits that are labeled Trait1 to Trait6. The dataset is available here.
The data file is formatted according to the guidelines on the BNW help page. The first row of the file contains the names of the variables and the remaining rows contain the data for each sample of the dataset. The genotypes (Geno1 and Geno2), which are the only discrete variables in the network, are the leftmost variables in the input file and are integer values (1 and 2) for all of the samples. The quantitative traits are continuous variables, and, therefore, all contain a "." in at least one of the samples.
1. Structure learning using default options
We do not know the network structure of this datasets, so we will use BNW to learn the structure that best explains the data. To begin, select Learn a network model from data from the BNW home page. Next, click Choose File at the top of the file upload page, navigate to and select the data file, and click Upload. The contents of the uploaded file should now be visible as shown below.
Initially, we will perform structure learning using default options in BNW. By default, BNW limits the maximum number of parents for any node in the network to 4 and presents the structure of the single highest scoring network. To perform structure learning using the default settings and view the network structure, click Perform Bayesian network modeling using default settings. The structure below should be displayed and the network is available here.
+ 2. Modifying structure learning settings In order to test if edges present the single best scoring network are conserved across high scoring networks. We can modify the structure learning settings to get identify the structures of many high scoring networks and perform model averaging over these structures. To do this, return to the BNW home page, select Learn a network model from data, and upload the datafile. Instead of using the default settings, select Go to structure learning settings and the BNW structural constraint interface. A more detailed overview of use of the structural constraint interface is provided in another tutorial, but, here, we will investigate the impact of modifying some of the structure learning settings shown below:
+
+
+ 3. Using the network structure to make predictions
+
+
+
In the single best scoring network structure, the genotype nodes, Geno1 and Geno2, directly influence Trait2 and Traits3, 4, and 6, respectively. There are also several direct interactions between traits; for example, Trait2 influences Trait1 and Trait4. Additionally, Trait5 is absent from the network, indicating that this variable did not interact with the other variables strongly enough to be located within the highest scoring network.
+
+
+
+
Change the Number of networks to include in model averaging to 100 and select Perform Bayesian network modeling. Now, instead of displaying the single highest scoring network, BNW will determine the 100 highest scoring networks, perform model averaing over these networks, and display the structure after model averaging that includes all features with a Model averaging edge selection threshold greater than 0.5. Model averaging over the 100 highest scoring structures has resulted in a change in the network structure as shown below and available here.
+
+
Specifically, the single best model network contains a directed edge linking Trait6 with Trait3, while this edge is absent from the structure after model averaging over the 100 best scoring networks. Clicking Display structure matrix displays the model averaging scores as well as the structure matrix. The structure matrix file can be downloaded and used in return sessions to BNW, allowing users to skip structure learning and more quickly use the model to make predictions.
+
+
In the model averaging scores, we can observe that most of the network edges in the model average network were found in all or nearly all of the 100 highest scoring networks. For example, edges from Geno2 to Traits 3 and 4 have posterior probabilities of 1. Also, the edge from Trait6 to Trait3 that was observed in the single highest scoring network has a posterior probability of 0.46, and it, therefore, falls just short of being included in the model averaged network structure.
+
+
To make predictions with the network, we will use the structure learned after model averaging of the top 100 highest scoring networks. First, we will use the model to compare the expected values for nodes in the network based on observed genotypes. For these predictions, we will keep the prediction in evidence mode. The difference between evidence and intervention modes is discussed in the BNW FAQ page. To use the model to make predictions based on Geno1, click on one of the blue bars in the Geno1 node and enter 1 or 2 to indicate which genotype value should be used to predict the values of the other network nodes. In the figure below, Geno1 is outlined in red and state 2 has a 100% probability, indicating that the value of this node has been entered as evidence. The red lines in the figure show the predicted distributions of the nodes after this evidence is known and can be compared with the blue lines which show the distributions for variables using the original data.
+
+
If Geno1 has genotype 2, the value of Traits 1, 2, and 4 are expected to increase compared with the distribution for all data. Specifically, the mean value of Trait2 is expected to be near 1 for Geno1=2 data, while it is close to 0 when this evidence is not known. Traits 1 and 4 are also expected to increase, but the magnitude of this increase is not expected to be as large. Predicted distributions for the other nodes in the network, which are not descendants of Geno1, are expected to be close to the same as their original distributions, and, the red line covers the blue line for some nodes. Evidence for multiple nodes can be considered at the same time by clicking on a new node in the network and entering a value. Alternatively, users can select Clear evidence to reset the network to show the orignial distributions in a new tab.
+Next, we will make predictions using the intervention mode. To use the prediction mode, click the button next to Intervention at the top of the page. The Selected mode tab on the left of the screan should now display Intervention. The effects of experimental intervention on Trait2 can be predicted by clicking on the blue line in the Trait2 node and entering a value for the variable. The figure below shows the network after setting Trait2 to a value of 1.5.
+
+
Entering a value for Trait2 in intervention mode results in a change in the structure of the network. Specifically, as Trait2 is now set by the experimental intervention, it is no longer dependent on its parents. In this case, as Geno1 was only connected to the network by being the parent of Trait2, Geno1 no longer appears in the network. Also, intervention mode only predicts how nodes that are descendants of Trait2 are affected. Setting Trait2 to 1.5 results in increases in the predicted values of both Trait1 and Trait4.
+
+
+
1.
+A genetic network linking genotype and phenotype
In this example, we will use the structural constraint interface to create a genetic network linking a genotype with gene expression traits and a higher-order phenotype. There are 5 nodes in the network: Genotype, Gene1, Gene2, Gene3, and Phenotype. The input datafile is available here. To begin, select Learn a network model from data on the BNW homepage and load the data file, displaying what is shown below:
+
+
We now have the option of either learning performing structure learning using the default BNW settings and no additional structural constraints or we can use modify settings and add structural constraints. Here, we will select Go to structure learning settings and the BNW structural constraint interface to select the latter option. The BNW structural constraint interface is described in our Help page. At shown in the figure below, the top of the page has several settings for global features of the structure search. We have kept the default settings, except we have changed the Number of networks to include in model averaging to 1000. As this is a small network with only 5 nodes, including many high scoring networks had little effect on the estimated time required to perform structure learning, and the estimated run time increased from 12 to 13 seconds. We also could increase the Maximum number of parents for any node to any value without significantly changing the run time for a network of this size. For larger networks with more than approximately 10 nodes, changing these settings can have a major impact on estimated run times.
+
+
In the next section of the structural constraint interface, we assign nodes to tiers which will can be used to focus network searches on biologically meaningful networks. Our dataset contains a genotype, three gene expression traits, and a higher order phenotype. Instead of considering all possible network models for this dataset, we may want to focus on models relevant to a questions such as: How does variation in genotype and gene expression explain the variation observed in the phenotype? To address this question, we assign the network nodes to three tiers: Tier1 contains the genotype, Tier2 contains the gene expression traits, and Tier3 contains the phenotype.
+
+
The third section of the BNW structural constraint interface allows users to specify the interactions that are allowed within and between tiers. By default, within tier interactions (i.e., nodes in TierX can be parents or children of other nodes in TierX) are allowed, but users may want to prevent within tier interactions for some cases. For example, it may be advantageous to prevent interactions between a tier that contained a set of some demographic variables (e.g., age, sex, and race), as these variables are not likely to be causal factor that influence other factors in the tier. In this case, within tier interactions only apply to Tier2, and we do not have any prior knowledge that indicates that between gene interactions should not be allowed, so we will keep the default setting and allow within tier interactions.
The default settings for between tier interactions allow nodes within a tier to be the parents of all nodes in lower ranking tiers. Here, the Genotype node in Tier1 can be parents of the gene nodes in Tier2 and the Phenotype node in Tier3, the gene nodes in Tier2 can be the parents of the Tier3 Phenotype node, and the Tier3 Phenotype node cannot be the parents of nodes in any other tier. Therefore, by default, the Genotype node can be the direct parent of the Phenotype node. We may want to allow this interaction, as the genotype may influence genotype through genes or other factors that are not explicitly included as variables in the network. If users do not want to allow this direct Genotype-Phenotype interaction, they can unclick the Tier3 box in the Which tiers contain nodes that can be the children of this tier? for Tier1. In this case, we have maintained the default settings which are shown below.
+
+
In this example, we will not specify any additional constraints in the fourth section of the structural constraint interface, and we can click Perform Bayesian network modeling on the upper left corner of the page. The figure below shows the network with the model average network of the 1000 highest scoring networks and this network is available here. Genotype directly influences two of the genes (Gene1 and Gene3), and two of the genes (Gene2 and Gene3) directly influence the Phenotype. In this case, although we did not prevent the Genotype from directly influencing the Phenotype, the highest scoring networks did not include this directed edge. The right side of the figure shows the predictions of the network with Genotype=1 used as evidence. If Genotype is known to be in state 1, the values of all other variables in the network are expected to decrease compared to the distributions learned using all phenotypes. A more complete description of using BNW to make predictions with network models can be found in a separate tutorial.
+
+
+
2.
+A genetic network with multiple genotypes and cis- and trans-regulated genes.
In this example, we will add restrictions to a network containing 8 nodes: 2 genotype nodes (Geno1 and Geno2), 3 cis-regulated gene expression traits (cisGene1, cisGene2, and cisGene3), 2 trans-regulated gene expression traits (transGene1 and transGene2), and a phenotype (Pheno). We have four tiers of nodes (genotypes, cis-regulated genes, trans-regulated genes, and phenotype), so we have selected 4 from the dropdown menu at the top of the page and assigned the nodes to the correct tiers. We could make a more complex system of tiers that would allow us to specify which genes are regulated by which genotypes (for example, Geno1 regulates cisGene1 and transGene1, while Geno2 regulates cisGene2, cisGene3, and transGene2), but, for this example, we will use a simpler system of 4 tiers.
+
We have made one change to the default setting in the Define interactions allowed between tiers section. For Tier1, which contains the genotypes, we have selected "No" for the "Are within tier interactions allowed?", as it does not make biological sense for one genotype variation to cause the variation in another genotype in this example.
+
Assume that a known regulatory relationship between cisGene1 and transGene1 has been established from previous experiments. We can require that this relationship is included in the network by adding the edge list of required edges in the Specify additional constraints section.
+