about summary refs log tree commit diff
path: root/sourcecodes/data
diff options
context:
space:
mode:
authorziejd22021-02-24 14:36:59 -0600
committerziejd22021-02-24 14:36:59 -0600
commit25b843f6bbacb1937bdb960777b73acbece64115 (patch)
tree88645b9d1d8a0eea19d7229555bf8805571bc8b7 /sourcecodes/data
parent33cedf36248f616aa37d1462c69a4a3058a5d92e (diff)
downloadBNW-25b843f6bbacb1937bdb960777b73acbece64115.tar.gz
GENENET8 update
Diffstat (limited to 'sourcecodes/data')
-rw-r--r--sourcecodes/data/LRlnetwork.json10
-rw-r--r--sourcecodes/data/example2_test/exAban.txt1
-rw-r--r--sourcecodes/data/example2_test/exAcontinuous_input.txt203
-rw-r--r--sourcecodes/data/example2_test/exAcontinuous_input_orig.txt201
-rw-r--r--sourcecodes/data/example2_test/exAk.txt1
-rw-r--r--sourcecodes/data/example2_test/exAparent.txt1
-rw-r--r--sourcecodes/data/example2_test/exAstructure_input.txt9
-rw-r--r--sourcecodes/data/example2_test/exAstructure_input_temp.txt9
-rw-r--r--sourcecodes/data/example2_test/exAthr.txt1
-rw-r--r--sourcecodes/data/example2_test/exAwhite.txt1
-rw-r--r--sourcecodes/data/example_chl/bWRstructure_input.txt13
-rw-r--r--sourcecodes/data/example_chl/bWRstructure_input_temp.txt6
-rw-r--r--sourcecodes/data/example_chl/old_gn/bWRcontinuous_input.txt (renamed from sourcecodes/data/example_chl/bWRcontinuous_input.txt)0
-rw-r--r--sourcecodes/data/example_chl/old_gn/bWRcontinuous_input_orig.txt42
-rw-r--r--sourcecodes/data/example_chl/old_gn/bWRgraphviz.txt (renamed from sourcecodes/data/example_chl/bWRgraphviz.txt)0
-rw-r--r--sourcecodes/data/example_chl/old_gn/bWRmap.txt (renamed from sourcecodes/data/example_chl/bWRmap.txt)0
-rw-r--r--sourcecodes/data/example_chl/old_gn/bWRmapdata.txt (renamed from sourcecodes/data/example_chl/bWRmapdata.txt)0
-rw-r--r--sourcecodes/data/example_chl/old_gn/bWRname.txt (renamed from sourcecodes/data/example_chl/bWRname.txt)0
-rw-r--r--sourcecodes/data/example_chl/old_gn/bWRnet_figure.txt (renamed from sourcecodes/data/example_chl/bWRnet_figure.txt)0
-rw-r--r--sourcecodes/data/example_chl/old_gn/bWRnet_figure_new.txt (renamed from sourcecodes/data/example_chl/bWRnet_figure_new.txt)0
-rw-r--r--sourcecodes/data/example_chl/old_gn/bWRnlevels.txt (renamed from sourcecodes/data/example_chl/bWRnlevels.txt)0
-rw-r--r--sourcecodes/data/example_chl/old_gn/bWRnnode.txt (renamed from sourcecodes/data/example_chl/bWRnnode.txt)0
-rw-r--r--sourcecodes/data/example_chl/old_gn/bWRparameters.txt (renamed from sourcecodes/data/example_chl/bWRparameters.txt)0
-rw-r--r--sourcecodes/data/example_chl/old_gn/bWRstructure_input.txt7
-rw-r--r--sourcecodes/data/example_chl/old_gn/bWRstructure_old.txt (renamed from sourcecodes/data/example_chl/bWRstructure_old.txt)0
-rw-r--r--sourcecodes/data/example_chl/old_gn/bWRtype.txt (renamed from sourcecodes/data/example_chl/bWRtype.txt)0
-rw-r--r--sourcecodes/data/example_chl/old_gn/bWRvar.txt (renamed from sourcecodes/data/example_chl/bWRvar.txt)0
-rw-r--r--sourcecodes/data/example_chl/old_gn/bWRvardata.txt (renamed from sourcecodes/data/example_chl/bWRvardata.txt)0
-rw-r--r--sourcecodes/data/example_chl/old_gn/bWRvarname.txt (renamed from sourcecodes/data/example_chl/bWRvarname.txt)0
-rw-r--r--sourcecodes/data/example_sample/sample_input.txt42
-rw-r--r--sourcecodes/data/example_sample/sample_input.txt~42
-rw-r--r--sourcecodes/data/sample_input.txt42
32 files changed, 624 insertions, 7 deletions
diff --git a/sourcecodes/data/LRlnetwork.json b/sourcecodes/data/LRlnetwork.json
new file mode 100644
index 00000000..7ee3b56f
--- /dev/null
+++ b/sourcecodes/data/LRlnetwork.json
@@ -0,0 +1,10 @@
+{
+  "nodes": [
+    {
+    "data": {
+      "id": "1",
+      "label": "Node1"
+    }
+    }
+  ]
+}
diff --git a/sourcecodes/data/example2_test/exAban.txt b/sourcecodes/data/example2_test/exAban.txt
new file mode 100644
index 00000000..83e81b8b
--- /dev/null
+++ b/sourcecodes/data/example2_test/exAban.txt
@@ -0,0 +1 @@
+From	To
diff --git a/sourcecodes/data/example2_test/exAcontinuous_input.txt b/sourcecodes/data/example2_test/exAcontinuous_input.txt
new file mode 100644
index 00000000..5e296c45
--- /dev/null
+++ b/sourcecodes/data/example2_test/exAcontinuous_input.txt
@@ -0,0 +1,203 @@
+Geno1	Geno2	Trait1	Trait2	Trait3	Trait4	Trait5	Trait6
+2	2	1	1	1	1	1	1
+2	2	0.46259	1.2692	-1.3164	-0.44096	0.5929	-0.75422
+1	1	-0.10011	-0.88834	1.6407	0.99972	0.31288	0.65602
+1	1	-1.0533	-0.55296	1.2715	1.3686	-0.19153	0.37361
+1	2	0.042371	0.13573	-0.72659	-0.66133	0.43157	-1.6715
+1	2	-0.68686	-1.6152	-0.95019	-1.2239	0.12319	-0.79155
+1	1	-0.4558	0.090877	0.94224	1.2354	-0.36356	0.34937
+1	1	0.237	-0.49002	1.8939	1.4399	0.033059	1.3229
+1	2	0.070265	0.22547	-1.4903	-0.069341	-0.16148	-0.01449
+1	1	-0.69146	-0.43461	1.1501	0.21205	-0.18087	0.32746
+1	1	0.31535	-0.9858	0.57816	0.35924	0.12866	1.0553
+2	1	1.2718	0.39314	0.6669	0.90002	-0.30206	1.3376
+1	1	1.1871	-0.45611	0.87227	0.31014	-0.092846	0.81278
+2	1	-1.0168	-0.44286	1.6933	0.72968	0.038808	0.81906
+2	2	-0.25313	0.52468	0.02823	-0.20984	-0.075809	-1.3591
+1	2	-0.58108	-0.3967	-0.11925	-0.61288	0.46778	0.090941
+1	2	-0.88043	-0.28187	-1.1645	-1.2543	-0.28951	-1.039
+1	2	0.54121	0.24395	-1.0043	-1.4483	-0.19839	-2.5407
+2	1	0.47375	1.1319	0.68553	1.035	0.44043	1.3011
+2	1	0.57785	0.69093	1.5941	1.6735	0.19981	0.50708
+1	2	-0.43989	0.0024131	-1.5405	-1.2304	-0.15382	-1.1058
+2	1	0.38035	-0.063535	1.1606	1.3124	-0.38043	0.6277
+1	2	0.70114	-0.41044	-0.39767	-1.5424	0.27477	-0.76183
+1	1	-0.9406	-0.20526	1.3302	1.097	0.16006	1.2988
+1	2	0.52122	0.064793	-0.031492	0.21696	-0.41979	-0.79123
+1	2	-0.53387	-0.71043	-0.52344	-1.5584	-0.09538	-1.5781
+1	1	0.49563	-0.58126	0.7747	1.274	0.19196	0.10624
+2	2	1.1499	1.879	0.43595	0.73474	0.045381	-0.88645
+1	2	0.40705	-0.37647	-0.19815	-1.5366	0.37167	-0.10553
+2	2	0.62526	0.043371	-0.64449	-0.44076	-0.4318	-0.91807
+1	1	-0.61788	-0.62414	0.3169	0.85091	-0.10135	0.79065
+1	1	0.18491	-1.5226	1.1149	0.75046	0.25948	0.42431
+2	2	0.86063	0.92883	-1.1584	-0.099858	-0.55095	-0.064129
+1	2	-0.28946	0.0057533	-0.95703	-0.44018	0.084268	-0.23718
+1	1	-0.073096	0.16452	1.4444	1.1452	0.46025	0.30452
+1	1	0.15637	-0.73137	0.585	-0.046911	0.43881	1.2888
+1	2	0.081142	-0.63691	-0.14883	0.66593	-0.13479	-0.22207
+1	1	0.10876	-0.23383	1.8314	1.3282	0.4362	0.90139
+1	2	-1.0582	-0.97152	-0.57118	-1.2617	0.17115	-0.060679
+2	2	-0.47421	-0.56819	-0.38775	0.035215	0.51982	-1.6309
+2	2	-0.10242	0.8127	0.41773	-1.1308	-0.30719	-0.80758
+1	1	-0.083462	-0.4565	1.1556	0.3299	0.087362	0.31349
+1	2	-0.98158	0.01727	-1.3281	-1.4474	0.54555	-0.10096
+1	1	-0.80604	-0.19415	1.4986	1.3386	-0.16367	0.68271
+1	1	0.80082	-0.57853	1.0716	0.94015	-0.54114	0.032172
+2	2	2.0456	0.97954	-0.45536	-0.14332	-0.25819	-1.0833
+1	1	-0.30148	0.20623	0.64194	0.76414	-0.59067	0.64326
+1	1	-0.55625	-0.26957	1.8447	1.6568	-0.38077	0.58831
+1	2	0.11898	0.80706	-0.025844	-0.57984	-0.23395	-1.1554
+1	2	-0.095497	-1.0637	-0.92583	-0.57928	0.23695	-0.42992
+2	2	0.066154	0.73037	-0.73622	-0.57047	0.39169	0.40928
+1	1	0.81522	0.11381	0.68971	0.29219	0.037792	0.81502
+1	1	-0.65356	-0.20182	0.92089	0.92298	-0.5417	0.49215
+1	1	-0.90826	-0.10979	1.3847	0.75954	-0.20255	0.32975
+1	2	-0.25671	-1.1903	-1.4241	-1.6058	-0.062549	-1.3981
+2	2	-1.8038	-1.4801	-0.94121	-1.6244	0.4817	-0.0029469
+1	2	0.12651	0.028719	-1.5818	-1.0266	0.19779	-0.36357
+1	1	-1.0658	-0.58443	0.68956	0.35467	0.11177	1.5243
+1	2	0.14729	-0.15111	-0.027639	-0.2899	0.11533	-0.60305
+2	2	-0.76889	0.87161	-0.83556	-1.1777	-0.21878	-0.98527
+2	2	0.12252	0.49068	-0.2557	-1.5816	0.25332	-0.78715
+1	1	-0.40287	0.26456	0.62208	0.60909	0.36074	0.092703
+2	1	-0.78301	1.4641	1.3162	1.9448	-0.10841	0.9618
+1	2	-0.25018	-0.32797	-1.113	-1.6123	0.6272	-1.2718
+2	1	0.15804	-0.18147	2.4571	0.59504	-0.34056	0.8691
+2	1	-0.582	0.25738	1.4075	0.92251	-0.40889	0.66381
+1	1	-0.26827	0.58632	0.51883	1.5745	-0.13818	1.0526
+1	2	0.13453	0.18218	-0.51676	-0.54166	-0.36636	-1.206
+2	1	1.1502	0.36164	1.9983	1.0809	0.11272	0.67683
+1	2	0.27812	0.46559	-1.6109	-0.91039	0.3803	-0.71802
+2	1	0.15292	0.61921	0.71009	1.3063	-0.35819	0.8661
+1	2	0.19902	0.48986	-1.4026	-0.8495	0.47158	0.0622
+2	1	0.4838	1.1096	1.4392	1.1438	0.34739	0.084004
+1	1	-0.63609	-0.35105	0.63581	1.1939	-0.062938	0.91353
+1	2	0.64203	-0.5095	-1.7792	-0.88803	0.43482	-0.66314
+1	1	-0.18434	-0.48157	0.69942	0.56942	-0.019967	0.50506
+1	1	0.10168	-1.0928	1.2144	0.28313	0.22159	0.54058
+1	1	-0.18578	-0.45336	1.5468	0.99679	0.11821	1.0476
+1	2	-0.60607	-1.1275	-0.90963	-0.69014	-0.33163	-1.2734
+1	1	-0.35353	-0.42708	0.78989	0.14094	-0.056632	0.80598
+1	1	-0.020221	-1.1235	1.9782	-0.041281	0.19857	1.2488
+1	1	1.2346	-0.37121	1.3325	1.1237	-0.027458	1.0044
+2	2	-0.54489	1.6812	-0.59836	-0.012441	0.41243	-0.58835
+2	1	-0.029577	2.1707	1.3285	1.2109	0.29684	0.90646
+2	2	0.70774	1.0606	-1.3996	-0.020914	-0.60955	-1.2187
+2	1	0.07926	0.52862	1.3994	0.54549	0.55303	0.16155
+1	1	0.041856	-0.92023	0.87269	-0.66601	-0.15945	0.1004
+1	2	0.17665	0.31945	-1.7756	-0.60442	0.020525	-1.0625
+1	1	-0.090238	-0.65111	0.56993	-0.4117	-0.19486	-0.18849
+1	2	0.059166	-0.47194	-0.69068	-0.41022	0.25867	-0.057175
+1	2	0.10473	0.66887	0.082035	-0.55975	-0.28439	-1.468
+1	1	-0.20937	-0.36621	0.09609	0.28164	0.24673	-0.11107
+1	2	-1.2678	0.22369	-0.42201	-0.70103	0.075915	-1.3347
+1	2	-0.35467	0.11166	-0.42144	-0.095223	-0.29936	-0.68322
+2	2	0.84875	1.24	-0.81217	0.084034	-0.32224	-1.6241
+2	1	-0.45939	1.3208	0.97993	1.2991	-0.015791	1.487
+1	2	-0.42254	-0.57928	-0.58529	-2.2375	0.51999	-0.79909
+2	1	0.32092	-0.13796	0.67098	0.24639	-0.36066	-0.032948
+1	2	-1.2408	-0.94836	0.026276	-0.37981	-0.02237	-0.38777
+2	2	0.20959	2.1466	-1.7027	-1.3169	-0.16515	-1.046
+2	2	-0.10482	1.3773	-1.2998	-0.014223	0.34065	-0.35362
+1	2	-0.66188	-1.2477	-0.62084	0.27682	0.1674	-0.8918
+1	1	-0.97246	-0.73017	1.3843	1.5549	0.1067	0.85754
+1	1	0.74567	-0.032694	1.1153	0.97318	-0.0033905	0.85059
+2	2	0.29324	-0.090608	-0.4945	-1.0484	-0.14987	-1.0141
+2	1	-0.86818	0.44948	1.8531	0.51896	-0.021141	1.8486
+1	2	0.362	-0.29749	-0.66525	0.21709	-0.15594	-1.4087
+1	2	-0.17675	0.36465	-0.45423	-1.262	0.22968	-1.246
+1	2	-0.34633	-0.16067	-1.2216	-1.3019	-0.040891	-1.2935
+1	2	0.44608	-0.57732	0.25606	-1.1664	0.54705	-0.19859
+1	2	0.45398	-0.55214	-0.33433	-0.085418	-0.10094	-0.48509
+1	2	0.12407	0.022419	-1.0312	-0.47727	0.20924	-1.2961
+1	1	-0.76644	-1.1794	1.2345	0.84756	0.1532	0.77648
+1	2	-0.10329	-0.53768	-0.67677	-0.58708	-0.014634	-0.036347
+1	1	0.2378	0.15372	0.49652	0.29193	0.19047	1.152
+1	2	0.024605	-0.38937	-0.89907	-0.42106	0.16921	-0.80893
+1	2	0.28812	0.26265	-0.94234	-0.88527	-0.49803	0.48254
+1	1	0.85086	0.11783	1.5014	1.2382	0.24441	1.3649
+2	2	0.86172	0.14894	-0.4846	-1.3488	-0.41844	-1.1372
+1	2	0.67971	-0.27488	-0.50687	-0.79153	-0.093399	-1.391
+1	1	-0.91977	-0.66099	0.5801	0.46587	-0.2263	1.43
+1	2	0.88213	-0.48674	-0.42406	-1.2762	0.28981	-1.0813
+2	1	-0.36583	0.51518	1.4491	1.4995	-0.073755	1.1218
+1	1	-0.54006	-0.59443	0.81263	0.65809	-0.15621	1.2508
+2	2	1.2125	-0.012648	-0.92657	-0.81972	-0.1536	-1.0176
+1	2	0.42493	0.34558	-1.7672	-1.3503	-0.045928	0.37449
+1	1	0.17097	-0.86593	-0.13424	1.0257	0.058014	0.91044
+2	1	-1.393	0.5338	1.8514	2.291	0.15305	0.30028
+1	1	-0.58552	-1.5337	1.5133	0.9976	0.64638	1.4428
+1	2	0.046272	-0.56387	-0.86063	-1.0462	0.014457	-1.3038
+1	2	0.34933	-0.16796	-0.27854	-0.27327	-0.0040928	-0.17912
+1	1	-1.0672	0.3979	1.208	0.50111	-0.013978	0.015097
+1	2	0.31052	-0.46723	-1.1237	0.59267	0.30978	-1.0169
+1	2	-0.55337	-0.42776	-0.12612	-0.41838	-0.56558	-0.58189
+2	2	0.3925	0.15644	-0.72963	-0.66601	-0.10837	-0.27787
+1	2	-0.48513	-1.4119	-0.16889	-0.19646	-0.068098	-0.084247
+2	2	0.16692	1.5447	-1.3064	-1.3338	-0.25668	-0.48832
+1	2	-0.36092	0.31518	-0.44815	-1.4019	-0.47505	-0.37187
+1	1	-1.8192	-0.57745	1.1304	0.262	-0.3595	0.58577
+1	1	-0.065383	0.07156	1.4931	2.3215	0.85149	1.4585
+2	1	-1.119	0.70896	1.0498	0.74334	0.75838	1.6107
+2	2	-0.17682	-0.21029	-0.74465	-0.83806	0.10827	-1.2829
+1	2	0.69834	-0.082402	0.64008	-0.83119	-0.26766	0.36961
+2	2	-0.28266	1.1929	-0.15174	0.098554	-0.33989	-0.6376
+2	2	1.5369	1.8434	0.0030761	-0.59703	0.14497	-1.5165
+1	2	0.35023	-0.28475	-0.93594	-1.0937	-0.46614	-2.188
+2	1	0.62308	1.0873	-0.0037182	0.86847	-0.48699	-0.10105
+1	1	-1.0408	-0.99866	2.0799	1.1634	0.092516	0.30401
+1	1	-0.87125	-0.88987	1.0278	1.0157	-0.23725	1.2377
+1	2	-0.020591	-0.03398	-0.024834	-1.3588	-0.045961	-0.89693
+1	1	0.9213	-0.57037	1.044	1.2994	0.046517	0.66563
+1	2	-0.87288	-0.96382	-0.704	-1.2184	0.046903	-0.30008
+1	2	0.77586	-0.34168	-0.09867	-0.37744	-0.24309	-0.13441
+2	1	0.19521	0.67595	1.4533	1.5115	0.19553	0.79596
+2	1	-1.3273	1.0891	1.2544	0.98928	0.045725	0.54963
+2	2	0.59176	0.65915	-0.84578	-0.080229	-0.26961	0.24045
+1	2	-0.66958	-1.042	-1.2138	-0.7612	-0.22775	-0.40062
+1	2	1.1154	-0.57069	-0.6592	-2.1961	-0.013175	0.46007
+1	2	-0.5254	0.0031225	-0.77758	0.8169	0.13224	-0.65572
+2	1	0.24551	1.5078	0.10719	1.1454	0.70578	0.59051
+1	2	0.29875	-0.11455	-1.0497	-0.77881	0.080708	-0.48337
+1	1	-0.1047	0.011628	1.2504	0.41776	-0.20102	1.2252
+1	2	0.44808	-0.8165	-0.080134	-0.49618	0.051011	-0.71722
+2	1	2.0365	1.5592	1.3257	1.2472	-0.47899	0.10943
+1	1	-0.16507	-0.66011	0.98739	0.58519	0.245	-0.43277
+1	2	-0.028366	-0.16961	-1.3266	0.14248	-0.24634	-1.1154
+2	1	0.92842	1.8842	1.3169	1.0358	-0.20988	0.88021
+2	2	0.33158	0.32463	-0.50924	0.40233	0.54391	-0.24309
+1	2	1.2555	0.1928	-0.487	0.048779	-0.23483	-1.477
+2	1	0.75021	0.85943	-0.2323	0.10748	-0.68906	0.84276
+2	2	0.6297	1.7397	-1.6136	-0.43268	-0.21442	-0.77462
+2	1	0.53168	1.0807	1.0853	0.62304	0.44036	0.48087
+1	2	-0.31256	-0.69771	-0.88556	-1.333	0.038614	-1.5744
+1	2	-0.039695	-0.52447	0.91401	-0.93272	0.53434	-0.080746
+2	1	-0.16596	0.56821	0.76008	0.45442	0.10286	0.6539
+1	2	-0.4331	-0.89669	-1.3097	-1.2157	0.1065	-0.8512
+1	2	-0.34708	-0.51457	-1.012	-0.39437	-0.55374	-1.144
+2	2	0.024082	0.7128	-1.3702	-1.4492	-0.10228	-0.59071
+1	2	-0.0037109	-0.68845	-0.649	-0.91581	0.066805	-0.98583
+2	1	0.68706	0.067424	0.87139	0.7938	-0.099645	1.529
+2	2	-0.31183	0.57814	-0.80815	-0.66724	-0.31919	-0.61319
+1	2	-0.11153	-0.6246	-0.27979	-0.18363	0.83639	0.014919
+2	2	0.20406	1.5838	-0.96334	-1.1228	-0.17808	-1.2123
+2	2	-0.1134	0.63358	-0.53321	-0.84276	-0.27657	-0.36992
+1	2	0.25517	0.67006	-0.1349	0.18275	0.40982	-0.62487
+1	1	-1.2684	0.31042	0.91155	0.66143	0.2483	-0.12434
+1	1	-0.97542	-0.85419	0.7663	0.16362	-0.18737	0.67266
+1	2	-0.043882	-0.62746	-0.82816	-0.40626	-0.051048	-0.61297
+1	1	0.59605	-0.45852	1.2962	0.78156	-0.48154	0.17778
+2	2	-0.06266	1.1144	-0.80524	-0.3189	-0.16038	-0.96372
+1	2	-1.1821	1.0798	-1.3407	-0.52643	0.12458	-0.7871
+2	2	0.59446	0.89186	-0.97856	-0.64658	0.2712	-1.5538
+1	2	0.15067	0.41827	-1.0487	-1.0551	0.19143	-1.4537
+1	2	-1.073	0.022587	-1.7088	-1.3777	0.1964	-0.84025
+2	1	0.20928	1.8026	1.2073	2.78	0.15131	0.3448
+1	2	-1.1317	-0.6359	-0.70457	-1.676	-0.22886	-0.58769
+1	1	-0.039428	-0.58746	0.56	0.7896	-0.052581	0.99511
+1	2	0.55023	-0.20403	0.138	-0.70518	0.66927	-0.28861
+2	2	0.57423	1.1886	0.092876	0.025677	-0.41099	-1.2858
+2	2	-0.14179	1.5827	-0.94328	0.7703	-0.43967	-0.50448
+2	2	0.14666	1.0492	-0.0030259	-0.62418	-0.087515	-0.048386
+
diff --git a/sourcecodes/data/example2_test/exAcontinuous_input_orig.txt b/sourcecodes/data/example2_test/exAcontinuous_input_orig.txt
new file mode 100644
index 00000000..11f30f63
--- /dev/null
+++ b/sourcecodes/data/example2_test/exAcontinuous_input_orig.txt
@@ -0,0 +1,201 @@
+Geno1	Geno2	Trait1	Trait2	Trait3	Trait4	Trait5	Trait6
+2	2	0.46259	1.2692	-1.3164	-0.44096	0.5929	-0.75422
+1	1	-0.10011	-0.88834	1.6407	0.99972	0.31288	0.65602
+1	1	-1.0533	-0.55296	1.2715	1.3686	-0.19153	0.37361
+1	2	0.042371	0.13573	-0.72659	-0.66133	0.43157	-1.6715
+1	2	-0.68686	-1.6152	-0.95019	-1.2239	0.12319	-0.79155
+1	1	-0.4558	0.090877	0.94224	1.2354	-0.36356	0.34937
+1	1	0.237	-0.49002	1.8939	1.4399	0.033059	1.3229
+1	2	0.070265	0.22547	-1.4903	-0.069341	-0.16148	-0.01449
+1	1	-0.69146	-0.43461	1.1501	0.21205	-0.18087	0.32746
+1	1	0.31535	-0.9858	0.57816	0.35924	0.12866	1.0553
+2	1	1.2718	0.39314	0.6669	0.90002	-0.30206	1.3376
+1	1	1.1871	-0.45611	0.87227	0.31014	-0.092846	0.81278
+2	1	-1.0168	-0.44286	1.6933	0.72968	0.038808	0.81906
+2	2	-0.25313	0.52468	0.02823	-0.20984	-0.075809	-1.3591
+1	2	-0.58108	-0.3967	-0.11925	-0.61288	0.46778	0.090941
+1	2	-0.88043	-0.28187	-1.1645	-1.2543	-0.28951	-1.039
+1	2	0.54121	0.24395	-1.0043	-1.4483	-0.19839	-2.5407
+2	1	0.47375	1.1319	0.68553	1.035	0.44043	1.3011
+2	1	0.57785	0.69093	1.5941	1.6735	0.19981	0.50708
+1	2	-0.43989	0.0024131	-1.5405	-1.2304	-0.15382	-1.1058
+2	1	0.38035	-0.063535	1.1606	1.3124	-0.38043	0.6277
+1	2	0.70114	-0.41044	-0.39767	-1.5424	0.27477	-0.76183
+1	1	-0.9406	-0.20526	1.3302	1.097	0.16006	1.2988
+1	2	0.52122	0.064793	-0.031492	0.21696	-0.41979	-0.79123
+1	2	-0.53387	-0.71043	-0.52344	-1.5584	-0.09538	-1.5781
+1	1	0.49563	-0.58126	0.7747	1.274	0.19196	0.10624
+2	2	1.1499	1.879	0.43595	0.73474	0.045381	-0.88645
+1	2	0.40705	-0.37647	-0.19815	-1.5366	0.37167	-0.10553
+2	2	0.62526	0.043371	-0.64449	-0.44076	-0.4318	-0.91807
+1	1	-0.61788	-0.62414	0.3169	0.85091	-0.10135	0.79065
+1	1	0.18491	-1.5226	1.1149	0.75046	0.25948	0.42431
+2	2	0.86063	0.92883	-1.1584	-0.099858	-0.55095	-0.064129
+1	2	-0.28946	0.0057533	-0.95703	-0.44018	0.084268	-0.23718
+1	1	-0.073096	0.16452	1.4444	1.1452	0.46025	0.30452
+1	1	0.15637	-0.73137	0.585	-0.046911	0.43881	1.2888
+1	2	0.081142	-0.63691	-0.14883	0.66593	-0.13479	-0.22207
+1	1	0.10876	-0.23383	1.8314	1.3282	0.4362	0.90139
+1	2	-1.0582	-0.97152	-0.57118	-1.2617	0.17115	-0.060679
+2	2	-0.47421	-0.56819	-0.38775	0.035215	0.51982	-1.6309
+2	2	-0.10242	0.8127	0.41773	-1.1308	-0.30719	-0.80758
+1	1	-0.083462	-0.4565	1.1556	0.3299	0.087362	0.31349
+1	2	-0.98158	0.01727	-1.3281	-1.4474	0.54555	-0.10096
+1	1	-0.80604	-0.19415	1.4986	1.3386	-0.16367	0.68271
+1	1	0.80082	-0.57853	1.0716	0.94015	-0.54114	0.032172
+2	2	2.0456	0.97954	-0.45536	-0.14332	-0.25819	-1.0833
+1	1	-0.30148	0.20623	0.64194	0.76414	-0.59067	0.64326
+1	1	-0.55625	-0.26957	1.8447	1.6568	-0.38077	0.58831
+1	2	0.11898	0.80706	-0.025844	-0.57984	-0.23395	-1.1554
+1	2	-0.095497	-1.0637	-0.92583	-0.57928	0.23695	-0.42992
+2	2	0.066154	0.73037	-0.73622	-0.57047	0.39169	0.40928
+1	1	0.81522	0.11381	0.68971	0.29219	0.037792	0.81502
+1	1	-0.65356	-0.20182	0.92089	0.92298	-0.5417	0.49215
+1	1	-0.90826	-0.10979	1.3847	0.75954	-0.20255	0.32975
+1	2	-0.25671	-1.1903	-1.4241	-1.6058	-0.062549	-1.3981
+2	2	-1.8038	-1.4801	-0.94121	-1.6244	0.4817	-0.0029469
+1	2	0.12651	0.028719	-1.5818	-1.0266	0.19779	-0.36357
+1	1	-1.0658	-0.58443	0.68956	0.35467	0.11177	1.5243
+1	2	0.14729	-0.15111	-0.027639	-0.2899	0.11533	-0.60305
+2	2	-0.76889	0.87161	-0.83556	-1.1777	-0.21878	-0.98527
+2	2	0.12252	0.49068	-0.2557	-1.5816	0.25332	-0.78715
+1	1	-0.40287	0.26456	0.62208	0.60909	0.36074	0.092703
+2	1	-0.78301	1.4641	1.3162	1.9448	-0.10841	0.9618
+1	2	-0.25018	-0.32797	-1.113	-1.6123	0.6272	-1.2718
+2	1	0.15804	-0.18147	2.4571	0.59504	-0.34056	0.8691
+2	1	-0.582	0.25738	1.4075	0.92251	-0.40889	0.66381
+1	1	-0.26827	0.58632	0.51883	1.5745	-0.13818	1.0526
+1	2	0.13453	0.18218	-0.51676	-0.54166	-0.36636	-1.206
+2	1	1.1502	0.36164	1.9983	1.0809	0.11272	0.67683
+1	2	0.27812	0.46559	-1.6109	-0.91039	0.3803	-0.71802
+2	1	0.15292	0.61921	0.71009	1.3063	-0.35819	0.8661
+1	2	0.19902	0.48986	-1.4026	-0.8495	0.47158	0.0622
+2	1	0.4838	1.1096	1.4392	1.1438	0.34739	0.084004
+1	1	-0.63609	-0.35105	0.63581	1.1939	-0.062938	0.91353
+1	2	0.64203	-0.5095	-1.7792	-0.88803	0.43482	-0.66314
+1	1	-0.18434	-0.48157	0.69942	0.56942	-0.019967	0.50506
+1	1	0.10168	-1.0928	1.2144	0.28313	0.22159	0.54058
+1	1	-0.18578	-0.45336	1.5468	0.99679	0.11821	1.0476
+1	2	-0.60607	-1.1275	-0.90963	-0.69014	-0.33163	-1.2734
+1	1	-0.35353	-0.42708	0.78989	0.14094	-0.056632	0.80598
+1	1	-0.020221	-1.1235	1.9782	-0.041281	0.19857	1.2488
+1	1	1.2346	-0.37121	1.3325	1.1237	-0.027458	1.0044
+2	2	-0.54489	1.6812	-0.59836	-0.012441	0.41243	-0.58835
+2	1	-0.029577	2.1707	1.3285	1.2109	0.29684	0.90646
+2	2	0.70774	1.0606	-1.3996	-0.020914	-0.60955	-1.2187
+2	1	0.07926	0.52862	1.3994	0.54549	0.55303	0.16155
+1	1	0.041856	-0.92023	0.87269	-0.66601	-0.15945	0.1004
+1	2	0.17665	0.31945	-1.7756	-0.60442	0.020525	-1.0625
+1	1	-0.090238	-0.65111	0.56993	-0.4117	-0.19486	-0.18849
+1	2	0.059166	-0.47194	-0.69068	-0.41022	0.25867	-0.057175
+1	2	0.10473	0.66887	0.082035	-0.55975	-0.28439	-1.468
+1	1	-0.20937	-0.36621	0.09609	0.28164	0.24673	-0.11107
+1	2	-1.2678	0.22369	-0.42201	-0.70103	0.075915	-1.3347
+1	2	-0.35467	0.11166	-0.42144	-0.095223	-0.29936	-0.68322
+2	2	0.84875	1.24	-0.81217	0.084034	-0.32224	-1.6241
+2	1	-0.45939	1.3208	0.97993	1.2991	-0.015791	1.487
+1	2	-0.42254	-0.57928	-0.58529	-2.2375	0.51999	-0.79909
+2	1	0.32092	-0.13796	0.67098	0.24639	-0.36066	-0.032948
+1	2	-1.2408	-0.94836	0.026276	-0.37981	-0.02237	-0.38777
+2	2	0.20959	2.1466	-1.7027	-1.3169	-0.16515	-1.046
+2	2	-0.10482	1.3773	-1.2998	-0.014223	0.34065	-0.35362
+1	2	-0.66188	-1.2477	-0.62084	0.27682	0.1674	-0.8918
+1	1	-0.97246	-0.73017	1.3843	1.5549	0.1067	0.85754
+1	1	0.74567	-0.032694	1.1153	0.97318	-0.0033905	0.85059
+2	2	0.29324	-0.090608	-0.4945	-1.0484	-0.14987	-1.0141
+2	1	-0.86818	0.44948	1.8531	0.51896	-0.021141	1.8486
+1	2	0.362	-0.29749	-0.66525	0.21709	-0.15594	-1.4087
+1	2	-0.17675	0.36465	-0.45423	-1.262	0.22968	-1.246
+1	2	-0.34633	-0.16067	-1.2216	-1.3019	-0.040891	-1.2935
+1	2	0.44608	-0.57732	0.25606	-1.1664	0.54705	-0.19859
+1	2	0.45398	-0.55214	-0.33433	-0.085418	-0.10094	-0.48509
+1	2	0.12407	0.022419	-1.0312	-0.47727	0.20924	-1.2961
+1	1	-0.76644	-1.1794	1.2345	0.84756	0.1532	0.77648
+1	2	-0.10329	-0.53768	-0.67677	-0.58708	-0.014634	-0.036347
+1	1	0.2378	0.15372	0.49652	0.29193	0.19047	1.152
+1	2	0.024605	-0.38937	-0.89907	-0.42106	0.16921	-0.80893
+1	2	0.28812	0.26265	-0.94234	-0.88527	-0.49803	0.48254
+1	1	0.85086	0.11783	1.5014	1.2382	0.24441	1.3649
+2	2	0.86172	0.14894	-0.4846	-1.3488	-0.41844	-1.1372
+1	2	0.67971	-0.27488	-0.50687	-0.79153	-0.093399	-1.391
+1	1	-0.91977	-0.66099	0.5801	0.46587	-0.2263	1.43
+1	2	0.88213	-0.48674	-0.42406	-1.2762	0.28981	-1.0813
+2	1	-0.36583	0.51518	1.4491	1.4995	-0.073755	1.1218
+1	1	-0.54006	-0.59443	0.81263	0.65809	-0.15621	1.2508
+2	2	1.2125	-0.012648	-0.92657	-0.81972	-0.1536	-1.0176
+1	2	0.42493	0.34558	-1.7672	-1.3503	-0.045928	0.37449
+1	1	0.17097	-0.86593	-0.13424	1.0257	0.058014	0.91044
+2	1	-1.393	0.5338	1.8514	2.291	0.15305	0.30028
+1	1	-0.58552	-1.5337	1.5133	0.9976	0.64638	1.4428
+1	2	0.046272	-0.56387	-0.86063	-1.0462	0.014457	-1.3038
+1	2	0.34933	-0.16796	-0.27854	-0.27327	-0.0040928	-0.17912
+1	1	-1.0672	0.3979	1.208	0.50111	-0.013978	0.015097
+1	2	0.31052	-0.46723	-1.1237	0.59267	0.30978	-1.0169
+1	2	-0.55337	-0.42776	-0.12612	-0.41838	-0.56558	-0.58189
+2	2	0.3925	0.15644	-0.72963	-0.66601	-0.10837	-0.27787
+1	2	-0.48513	-1.4119	-0.16889	-0.19646	-0.068098	-0.084247
+2	2	0.16692	1.5447	-1.3064	-1.3338	-0.25668	-0.48832
+1	2	-0.36092	0.31518	-0.44815	-1.4019	-0.47505	-0.37187
+1	1	-1.8192	-0.57745	1.1304	0.262	-0.3595	0.58577
+1	1	-0.065383	0.07156	1.4931	2.3215	0.85149	1.4585
+2	1	-1.119	0.70896	1.0498	0.74334	0.75838	1.6107
+2	2	-0.17682	-0.21029	-0.74465	-0.83806	0.10827	-1.2829
+1	2	0.69834	-0.082402	0.64008	-0.83119	-0.26766	0.36961
+2	2	-0.28266	1.1929	-0.15174	0.098554	-0.33989	-0.6376
+2	2	1.5369	1.8434	0.0030761	-0.59703	0.14497	-1.5165
+1	2	0.35023	-0.28475	-0.93594	-1.0937	-0.46614	-2.188
+2	1	0.62308	1.0873	-0.0037182	0.86847	-0.48699	-0.10105
+1	1	-1.0408	-0.99866	2.0799	1.1634	0.092516	0.30401
+1	1	-0.87125	-0.88987	1.0278	1.0157	-0.23725	1.2377
+1	2	-0.020591	-0.03398	-0.024834	-1.3588	-0.045961	-0.89693
+1	1	0.9213	-0.57037	1.044	1.2994	0.046517	0.66563
+1	2	-0.87288	-0.96382	-0.704	-1.2184	0.046903	-0.30008
+1	2	0.77586	-0.34168	-0.09867	-0.37744	-0.24309	-0.13441
+2	1	0.19521	0.67595	1.4533	1.5115	0.19553	0.79596
+2	1	-1.3273	1.0891	1.2544	0.98928	0.045725	0.54963
+2	2	0.59176	0.65915	-0.84578	-0.080229	-0.26961	0.24045
+1	2	-0.66958	-1.042	-1.2138	-0.7612	-0.22775	-0.40062
+1	2	1.1154	-0.57069	-0.6592	-2.1961	-0.013175	0.46007
+1	2	-0.5254	0.0031225	-0.77758	0.8169	0.13224	-0.65572
+2	1	0.24551	1.5078	0.10719	1.1454	0.70578	0.59051
+1	2	0.29875	-0.11455	-1.0497	-0.77881	0.080708	-0.48337
+1	1	-0.1047	0.011628	1.2504	0.41776	-0.20102	1.2252
+1	2	0.44808	-0.8165	-0.080134	-0.49618	0.051011	-0.71722
+2	1	2.0365	1.5592	1.3257	1.2472	-0.47899	0.10943
+1	1	-0.16507	-0.66011	0.98739	0.58519	0.245	-0.43277
+1	2	-0.028366	-0.16961	-1.3266	0.14248	-0.24634	-1.1154
+2	1	0.92842	1.8842	1.3169	1.0358	-0.20988	0.88021
+2	2	0.33158	0.32463	-0.50924	0.40233	0.54391	-0.24309
+1	2	1.2555	0.1928	-0.487	0.048779	-0.23483	-1.477
+2	1	0.75021	0.85943	-0.2323	0.10748	-0.68906	0.84276
+2	2	0.6297	1.7397	-1.6136	-0.43268	-0.21442	-0.77462
+2	1	0.53168	1.0807	1.0853	0.62304	0.44036	0.48087
+1	2	-0.31256	-0.69771	-0.88556	-1.333	0.038614	-1.5744
+1	2	-0.039695	-0.52447	0.91401	-0.93272	0.53434	-0.080746
+2	1	-0.16596	0.56821	0.76008	0.45442	0.10286	0.6539
+1	2	-0.4331	-0.89669	-1.3097	-1.2157	0.1065	-0.8512
+1	2	-0.34708	-0.51457	-1.012	-0.39437	-0.55374	-1.144
+2	2	0.024082	0.7128	-1.3702	-1.4492	-0.10228	-0.59071
+1	2	-0.0037109	-0.68845	-0.649	-0.91581	0.066805	-0.98583
+2	1	0.68706	0.067424	0.87139	0.7938	-0.099645	1.529
+2	2	-0.31183	0.57814	-0.80815	-0.66724	-0.31919	-0.61319
+1	2	-0.11153	-0.6246	-0.27979	-0.18363	0.83639	0.014919
+2	2	0.20406	1.5838	-0.96334	-1.1228	-0.17808	-1.2123
+2	2	-0.1134	0.63358	-0.53321	-0.84276	-0.27657	-0.36992
+1	2	0.25517	0.67006	-0.1349	0.18275	0.40982	-0.62487
+1	1	-1.2684	0.31042	0.91155	0.66143	0.2483	-0.12434
+1	1	-0.97542	-0.85419	0.7663	0.16362	-0.18737	0.67266
+1	2	-0.043882	-0.62746	-0.82816	-0.40626	-0.051048	-0.61297
+1	1	0.59605	-0.45852	1.2962	0.78156	-0.48154	0.17778
+2	2	-0.06266	1.1144	-0.80524	-0.3189	-0.16038	-0.96372
+1	2	-1.1821	1.0798	-1.3407	-0.52643	0.12458	-0.7871
+2	2	0.59446	0.89186	-0.97856	-0.64658	0.2712	-1.5538
+1	2	0.15067	0.41827	-1.0487	-1.0551	0.19143	-1.4537
+1	2	-1.073	0.022587	-1.7088	-1.3777	0.1964	-0.84025
+2	1	0.20928	1.8026	1.2073	2.78	0.15131	0.3448
+1	2	-1.1317	-0.6359	-0.70457	-1.676	-0.22886	-0.58769
+1	1	-0.039428	-0.58746	0.56	0.7896	-0.052581	0.99511
+1	2	0.55023	-0.20403	0.138	-0.70518	0.66927	-0.28861
+2	2	0.57423	1.1886	0.092876	0.025677	-0.41099	-1.2858
+2	2	-0.14179	1.5827	-0.94328	0.7703	-0.43967	-0.50448
+2	2	0.14666	1.0492	-0.0030259	-0.62418	-0.087515	-0.048386
diff --git a/sourcecodes/data/example2_test/exAk.txt b/sourcecodes/data/example2_test/exAk.txt
new file mode 100644
index 00000000..29d6383b
--- /dev/null
+++ b/sourcecodes/data/example2_test/exAk.txt
@@ -0,0 +1 @@
+100
diff --git a/sourcecodes/data/example2_test/exAparent.txt b/sourcecodes/data/example2_test/exAparent.txt
new file mode 100644
index 00000000..b8626c4c
--- /dev/null
+++ b/sourcecodes/data/example2_test/exAparent.txt
@@ -0,0 +1 @@
+4
diff --git a/sourcecodes/data/example2_test/exAstructure_input.txt b/sourcecodes/data/example2_test/exAstructure_input.txt
new file mode 100644
index 00000000..410c0fa4
--- /dev/null
+++ b/sourcecodes/data/example2_test/exAstructure_input.txt
@@ -0,0 +1,9 @@
+Geno1	Geno2	Trait1	Trait2	Trait3	Trait4	Trait5	Trait6	
+0	0	0	1	0	0	0	0	
+0	0	0	0	1	1	0	1	
+0	0	0	0	0	0	0	0	
+0	0	1	0	0	1	0	0	
+0	0	0	0	0	1	0	0	
+0	0	0	0	0	0	0	0	
+0	0	0	0	0	0	0	0	
+0	0	0	0	0	0	0	0	
diff --git a/sourcecodes/data/example2_test/exAstructure_input_temp.txt b/sourcecodes/data/example2_test/exAstructure_input_temp.txt
new file mode 100644
index 00000000..27bddc96
--- /dev/null
+++ b/sourcecodes/data/example2_test/exAstructure_input_temp.txt
@@ -0,0 +1,9 @@
+Geno1	Geno2	Trait1	Trait2	Trait3	Trait4	Trait5	Trait6	
+0.000000	0.030654	0.000000	1.000000	0.000000	0.000000	0.350069	0.000000	
+0.030654	0.000000	0.049399	0.000000	1.000000	1.000000	0.000000	1.000000	
+0.000000	0.000000	0.000000	0.000000	0.025163	0.000000	0.123845	0.000000	
+0.000000	0.000000	1.000000	0.000000	0.000000	1.000000	0.053585	0.000000	
+0.000000	0.000000	0.013273	0.108604	0.000000	1.000000	0.010570	0.391609	
+0.000000	0.000000	0.013713	0.000000	0.000000	0.000000	0.011282	0.026127	
+0.000000	0.000000	0.028672	0.000000	0.000000	0.000000	0.000000	0.137567	
+0.000000	0.000000	0.136004	0.056792	0.457123	0.029978	0.069699	0.000000	
diff --git a/sourcecodes/data/example2_test/exAthr.txt b/sourcecodes/data/example2_test/exAthr.txt
new file mode 100644
index 00000000..2eb3c4fe
--- /dev/null
+++ b/sourcecodes/data/example2_test/exAthr.txt
@@ -0,0 +1 @@
+0.5
diff --git a/sourcecodes/data/example2_test/exAwhite.txt b/sourcecodes/data/example2_test/exAwhite.txt
new file mode 100644
index 00000000..83e81b8b
--- /dev/null
+++ b/sourcecodes/data/example2_test/exAwhite.txt
@@ -0,0 +1 @@
+From	To
diff --git a/sourcecodes/data/example_chl/bWRstructure_input.txt b/sourcecodes/data/example_chl/bWRstructure_input.txt
index efa98e06..1114285f 100644
--- a/sourcecodes/data/example_chl/bWRstructure_input.txt
+++ b/sourcecodes/data/example_chl/bWRstructure_input.txt
@@ -1,7 +1,6 @@
-Ctrq3	MAS	Neutrophil	Load	Weight
-0	1	1	1	1
-0	0	1	1	0
-0	0	0	0	1
-0	0	0	0	0
-0	0	0	0	0
-
+Ctrq3	MAS	Neutrophil	Load	Weight	
+0	1	1	1	1	
+0	0	1	1	0	
+0	0	0	0	1	
+0	0	0	0	0	
+0	0	0	0	0	
diff --git a/sourcecodes/data/example_chl/bWRstructure_input_temp.txt b/sourcecodes/data/example_chl/bWRstructure_input_temp.txt
new file mode 100644
index 00000000..dd28b6b9
--- /dev/null
+++ b/sourcecodes/data/example_chl/bWRstructure_input_temp.txt
@@ -0,0 +1,6 @@
+Ctrq3	MAS	Neutrophil	Load	Weight	
+0.000000	0.971631	0.988653	0.975655	0.808347	
+0.000000	0.000000	0.574946	0.600694	0.458029	
+0.000000	0.423826	0.000000	0.140335	0.962872	
+0.000000	0.399237	0.131467	0.000000	0.470194	
+0.000000	0.000000	0.000000	0.000000	0.000000	
diff --git a/sourcecodes/data/example_chl/bWRcontinuous_input.txt b/sourcecodes/data/example_chl/old_gn/bWRcontinuous_input.txt
index cf674ffd..cf674ffd 100644
--- a/sourcecodes/data/example_chl/bWRcontinuous_input.txt
+++ b/sourcecodes/data/example_chl/old_gn/bWRcontinuous_input.txt
diff --git a/sourcecodes/data/example_chl/old_gn/bWRcontinuous_input_orig.txt b/sourcecodes/data/example_chl/old_gn/bWRcontinuous_input_orig.txt
new file mode 100644
index 00000000..62705bb9
--- /dev/null
+++ b/sourcecodes/data/example_chl/old_gn/bWRcontinuous_input_orig.txt
@@ -0,0 +1,42 @@
+Ctrq3	MAS	Neutrophil	Load	Weight
+2	0.969230769	3	3.252367514	1
+2	0.925170068	1.6	2.46322088	1.033472803
+1	0.427272727	33.8	4.206610024	0.831372549
+2	0.877835951	8.3	3.764250875	0.967153285
+2	0.914862915	4.4	3.691700208	1.046025105
+2	0.560334528	4.9	2.604550033	0.98046875
+1	0.383073497	13.1	4.273556814	0.812316716
+1	0.101010101	18.6	5.089640217	0.771929825
+1	0.106719368	18.9	4.915125346	0.80994152
+2	0.894736842	2.5	2.691700208	0.995515695
+1	0.067226891	19.8	4.878194228	0.846153846
+2	0.921022067	2.9	4.127428778	1.03875969
+2	0.938701923	0.7	4.366310867	0.984732824
+1	0.658008658	15.7	4.531121115	0.884210526
+2	0.9	4.8	2.604550033	0.913194444
+2	0.790923825	10.4	2.390670213	0.892857143
+1	0.295539033	8.6	4.24137213	0.85840708
+2	0.317757009	12.2	4.449648073	0.889830508
+1	0.032418953	20.2	5.053428044	0.811320755
+1	0.603960396	23.4	4.283775979	0.805460751
+2	0.939351199	3.6	2.349277527	0.952380952
+1	0.978448276	0.4	3.495405563	0.8875
+1	0.1	23.2	4.675613388	0.766101695
+1	0.036363636	32.6	4.938109253	0.828125
+1	0.660247593	9.2	3.826398782	0.921052632
+1	0.078651685	35.8	4.513630383	0.852112676
+1	0.186915888	20.7	5.048247532	0.779761905
+1	0.071578947	35.6	4.574586809	0.797356828
+1	0.239520958	15.4	4.331548761	0.941176471
+1	0.205741627	24.5	5.058547488	0.774193548
+1	0.062300319	13.4	4.594790195	0.832236842
+2	0.599675851	5	4.18178644	0.969348659
+1	0.324246772	13.5	4.252367514	0.858585859
+1	0.87628866	14.2	2.929061124	0.869863014
+1	0.146103896	15.6	4.579726449	0.9
+1	0.257383966	22.5	5.210214148	0.75
+1	0.033333333	31.1	4.632578756	0.718644068
+1	0.29739777	36.1	3.880756445	0.798353909
+2	0.872979215	4.2	4.097465554	0.856756757
+2	0.909221902	4.3	3.650307523	0.976
+1	0.10041841	28.3	4.46322088	0.757462687
diff --git a/sourcecodes/data/example_chl/bWRgraphviz.txt b/sourcecodes/data/example_chl/old_gn/bWRgraphviz.txt
index 2cd4e8cd..2cd4e8cd 100644
--- a/sourcecodes/data/example_chl/bWRgraphviz.txt
+++ b/sourcecodes/data/example_chl/old_gn/bWRgraphviz.txt
diff --git a/sourcecodes/data/example_chl/bWRmap.txt b/sourcecodes/data/example_chl/old_gn/bWRmap.txt
index b24eae2f..b24eae2f 100644
--- a/sourcecodes/data/example_chl/bWRmap.txt
+++ b/sourcecodes/data/example_chl/old_gn/bWRmap.txt
diff --git a/sourcecodes/data/example_chl/bWRmapdata.txt b/sourcecodes/data/example_chl/old_gn/bWRmapdata.txt
index ce5416ce..ce5416ce 100644
--- a/sourcecodes/data/example_chl/bWRmapdata.txt
+++ b/sourcecodes/data/example_chl/old_gn/bWRmapdata.txt
diff --git a/sourcecodes/data/example_chl/bWRname.txt b/sourcecodes/data/example_chl/old_gn/bWRname.txt
index 48018335..48018335 100644
--- a/sourcecodes/data/example_chl/bWRname.txt
+++ b/sourcecodes/data/example_chl/old_gn/bWRname.txt
diff --git a/sourcecodes/data/example_chl/bWRnet_figure.txt b/sourcecodes/data/example_chl/old_gn/bWRnet_figure.txt
index 6a3a1dbc..6a3a1dbc 100644
--- a/sourcecodes/data/example_chl/bWRnet_figure.txt
+++ b/sourcecodes/data/example_chl/old_gn/bWRnet_figure.txt
diff --git a/sourcecodes/data/example_chl/bWRnet_figure_new.txt b/sourcecodes/data/example_chl/old_gn/bWRnet_figure_new.txt
index 9b493660..9b493660 100644
--- a/sourcecodes/data/example_chl/bWRnet_figure_new.txt
+++ b/sourcecodes/data/example_chl/old_gn/bWRnet_figure_new.txt
diff --git a/sourcecodes/data/example_chl/bWRnlevels.txt b/sourcecodes/data/example_chl/old_gn/bWRnlevels.txt
index 9f618060..9f618060 100644
--- a/sourcecodes/data/example_chl/bWRnlevels.txt
+++ b/sourcecodes/data/example_chl/old_gn/bWRnlevels.txt
diff --git a/sourcecodes/data/example_chl/bWRnnode.txt b/sourcecodes/data/example_chl/old_gn/bWRnnode.txt
index 7ed6ff82..7ed6ff82 100644
--- a/sourcecodes/data/example_chl/bWRnnode.txt
+++ b/sourcecodes/data/example_chl/old_gn/bWRnnode.txt
diff --git a/sourcecodes/data/example_chl/bWRparameters.txt b/sourcecodes/data/example_chl/old_gn/bWRparameters.txt
index 6d6eabf6..6d6eabf6 100644
--- a/sourcecodes/data/example_chl/bWRparameters.txt
+++ b/sourcecodes/data/example_chl/old_gn/bWRparameters.txt
diff --git a/sourcecodes/data/example_chl/old_gn/bWRstructure_input.txt b/sourcecodes/data/example_chl/old_gn/bWRstructure_input.txt
new file mode 100644
index 00000000..efa98e06
--- /dev/null
+++ b/sourcecodes/data/example_chl/old_gn/bWRstructure_input.txt
@@ -0,0 +1,7 @@
+Ctrq3	MAS	Neutrophil	Load	Weight
+0	1	1	1	1
+0	0	1	1	0
+0	0	0	0	1
+0	0	0	0	0
+0	0	0	0	0
+
diff --git a/sourcecodes/data/example_chl/bWRstructure_old.txt b/sourcecodes/data/example_chl/old_gn/bWRstructure_old.txt
index a6aed858..a6aed858 100644
--- a/sourcecodes/data/example_chl/bWRstructure_old.txt
+++ b/sourcecodes/data/example_chl/old_gn/bWRstructure_old.txt
diff --git a/sourcecodes/data/example_chl/bWRtype.txt b/sourcecodes/data/example_chl/old_gn/bWRtype.txt
index 03b402ee..03b402ee 100644
--- a/sourcecodes/data/example_chl/bWRtype.txt
+++ b/sourcecodes/data/example_chl/old_gn/bWRtype.txt
diff --git a/sourcecodes/data/example_chl/bWRvar.txt b/sourcecodes/data/example_chl/old_gn/bWRvar.txt
index 56a6051c..56a6051c 100644
--- a/sourcecodes/data/example_chl/bWRvar.txt
+++ b/sourcecodes/data/example_chl/old_gn/bWRvar.txt
diff --git a/sourcecodes/data/example_chl/bWRvardata.txt b/sourcecodes/data/example_chl/old_gn/bWRvardata.txt
index 56a6051c..56a6051c 100644
--- a/sourcecodes/data/example_chl/bWRvardata.txt
+++ b/sourcecodes/data/example_chl/old_gn/bWRvardata.txt
diff --git a/sourcecodes/data/example_chl/bWRvarname.txt b/sourcecodes/data/example_chl/old_gn/bWRvarname.txt
index 6ef2df09..6ef2df09 100644
--- a/sourcecodes/data/example_chl/bWRvarname.txt
+++ b/sourcecodes/data/example_chl/old_gn/bWRvarname.txt
diff --git a/sourcecodes/data/example_sample/sample_input.txt b/sourcecodes/data/example_sample/sample_input.txt
new file mode 100644
index 00000000..13ee69e5
--- /dev/null
+++ b/sourcecodes/data/example_sample/sample_input.txt
@@ -0,0 +1,42 @@
+Geno	Trait1	Trait2	Trait3	Phenotype
+A	0.969230769	3	3.252367514	1
+A	0.925170068	1.6	2.46322088	1.033472803
+B	0.427272727	33.8	4.206610024	0.831372549
+A	0.877835951	8.3	3.764250875	0.967153285
+A	0.914862915	4.4	3.691700208	1.046025105
+A	0.560334528	4.9	2.604550033	0.98046875
+B	0.383073497	13.1	4.273556814	0.812316716
+B	0.101010101	18.6	5.089640217	0.771929825
+B	0.106719368	18.9	4.915125346	0.80994152
+2	0.894736842	2.5	2.691700208	0.995515695
+1	0.067226891	19.8	4.878194228	0.846153846
+2	0.921022067	2.9	4.127428778	1.03875969
+2	0.938701923	0.7	4.366310867	0.984732824
+1	0.658008658	15.7	4.531121115	0.884210526
+2	0.9	4.8	2.604550033	0.913194444
+2	0.790923825	10.4	2.390670213	0.892857143
+1	0.295539033	8.6	4.24137213	0.85840708
+2	0.317757009	12.2	4.449648073	0.889830508
+1	0.032418953	20.2	5.053428044	0.811320755
+1	0.603960396	23.4	4.283775979	0.805460751
+2	0.939351199	3.6	2.349277527	0.952380952
+1	0.978448276	0.4	3.495405563	0.8875
+1	0.1	23.2	4.675613388	0.766101695
+1	0.036363636	32.6	4.938109253	0.828125
+1	0.660247593	9.2	3.826398782	0.921052632
+1	0.078651685	35.8	4.513630383	0.852112676
+1	0.186915888	20.7	5.048247532	0.779761905
+1	0.071578947	35.6	4.574586809	0.797356828
+1	0.239520958	15.4	4.331548761	0.941176471
+1	0.205741627	24.5	5.058547488	0.774193548
+1	0.062300319	13.4	4.594790195	0.832236842
+2	0.599675851	5	4.18178644	0.969348659
+1	0.324246772	13.5	4.252367514	0.858585859
+1	0.87628866	14.2	2.929061124	0.869863014
+1	0.146103896	15.6	4.579726449	0.9
+1	0.257383966	22.5	5.210214148	0.75
+1	0.033333333	31.1	4.632578756	0.718644068
+1	0.29739777	36.1	3.880756445	0.798353909
+2	0.872979215	4.2	4.097465554	0.856756757
+2	0.909221902	4.3	3.650307523	0.976
+1	0.10041841	28.3	4.46322088	0.757462687
diff --git a/sourcecodes/data/example_sample/sample_input.txt~ b/sourcecodes/data/example_sample/sample_input.txt~
new file mode 100644
index 00000000..62705bb9
--- /dev/null
+++ b/sourcecodes/data/example_sample/sample_input.txt~
@@ -0,0 +1,42 @@
+Ctrq3	MAS	Neutrophil	Load	Weight
+2	0.969230769	3	3.252367514	1
+2	0.925170068	1.6	2.46322088	1.033472803
+1	0.427272727	33.8	4.206610024	0.831372549
+2	0.877835951	8.3	3.764250875	0.967153285
+2	0.914862915	4.4	3.691700208	1.046025105
+2	0.560334528	4.9	2.604550033	0.98046875
+1	0.383073497	13.1	4.273556814	0.812316716
+1	0.101010101	18.6	5.089640217	0.771929825
+1	0.106719368	18.9	4.915125346	0.80994152
+2	0.894736842	2.5	2.691700208	0.995515695
+1	0.067226891	19.8	4.878194228	0.846153846
+2	0.921022067	2.9	4.127428778	1.03875969
+2	0.938701923	0.7	4.366310867	0.984732824
+1	0.658008658	15.7	4.531121115	0.884210526
+2	0.9	4.8	2.604550033	0.913194444
+2	0.790923825	10.4	2.390670213	0.892857143
+1	0.295539033	8.6	4.24137213	0.85840708
+2	0.317757009	12.2	4.449648073	0.889830508
+1	0.032418953	20.2	5.053428044	0.811320755
+1	0.603960396	23.4	4.283775979	0.805460751
+2	0.939351199	3.6	2.349277527	0.952380952
+1	0.978448276	0.4	3.495405563	0.8875
+1	0.1	23.2	4.675613388	0.766101695
+1	0.036363636	32.6	4.938109253	0.828125
+1	0.660247593	9.2	3.826398782	0.921052632
+1	0.078651685	35.8	4.513630383	0.852112676
+1	0.186915888	20.7	5.048247532	0.779761905
+1	0.071578947	35.6	4.574586809	0.797356828
+1	0.239520958	15.4	4.331548761	0.941176471
+1	0.205741627	24.5	5.058547488	0.774193548
+1	0.062300319	13.4	4.594790195	0.832236842
+2	0.599675851	5	4.18178644	0.969348659
+1	0.324246772	13.5	4.252367514	0.858585859
+1	0.87628866	14.2	2.929061124	0.869863014
+1	0.146103896	15.6	4.579726449	0.9
+1	0.257383966	22.5	5.210214148	0.75
+1	0.033333333	31.1	4.632578756	0.718644068
+1	0.29739777	36.1	3.880756445	0.798353909
+2	0.872979215	4.2	4.097465554	0.856756757
+2	0.909221902	4.3	3.650307523	0.976
+1	0.10041841	28.3	4.46322088	0.757462687
diff --git a/sourcecodes/data/sample_input.txt b/sourcecodes/data/sample_input.txt
new file mode 100644
index 00000000..5d900d3c
--- /dev/null
+++ b/sourcecodes/data/sample_input.txt
@@ -0,0 +1,42 @@
+Genotype	Trait1	Trait2	Trait3	Phenotype
+A	0.969	3	3.25	1.0
+NA	0.925	1.6	2.46	1.03
+B	0.427	NA	4.20	0.83
+A	0.877	8.3	3.76	0.96
+A	0.914	4.4	3.69	1.04
+A	0.560	4.9	2.60	0.98
+B	0.383	13.1	4.27	0.81
+B	0.101	18.6	5.08	0.77
+B	0.106	18.9	4.91	0.80
+A	0.894	2.5	2.69	0.99
+B	0.067	19.8	4.87	0.84
+A	0.921	2.9	4.12	1.03
+A	0.938	0.7	4.36	0.98
+B	0.658	15.7	4.53	0.88
+A	0.9	4.8	2.60	0.91
+A	0.790	10.4	2.39	0.89
+B	0.295	8.6	4.24	0.85
+A	0.317	12.2	4.44	0.88
+B	0.032	20.2	5.05	0.81
+B	0.603	23.4	4.28	0.80
+A	0.939	3.6	2.34	0.95
+B	0.978	0.4	3.49	0.88
+B	0.1	23.2	4.67	0.76
+B	0.036	32.6	4.93	0.82
+B	0.660	9.2	3.82	0.92
+B	0.078	35.8	4.51	0.85
+B	0.186	20.7	5.04	0.77
+B	0.071	35.6	4.57	0.79
+B	0.239	15.4	4.33	0.94
+B	0.205	24.5	5.05	0.77
+B	0.062	13.4	4.59	0.83
+A	0.599	5	4.18	0.96
+B	0.324	13.2	4.25	0.85
+B	0.876	14.2	2.92	0.86
+B	0.146	15.6	4.57	0.9
+B	0.257	22.5	5.21	0.75
+B	0.033	31.1	4.63	0.71
+B	0.297	36.1	3.88	0.79
+A	0.872	4.2	4.09	0.85
+A	0.909	4.3	3.65	0.97
+B	0.100	28.3	4.46	0.75