/
ibd2015_nkcell.m
43 lines (31 loc) · 1.02 KB
/
ibd2015_nkcell.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
%%% PLEASE MODIFY PATHS BELOW IF NECESSARY %%%
src_path = '/home/users/xiangzhu/';
dat_path = '/scratch/users/xiangzhu/rss_net/ibd2015_nkcell/';
out_path = '/scratch/users/xiangzhu/rss_net/';
%%% PLEASE DO NOT MODIFY CODES BELOW IN GENERAL %%%
% specify regulatory network
net_name = 'Primary_Natural_Killer_cells_from_peripheral_blood';
cis_name = 'NK';
% specify total number of autosome protein-coding genes
ngene = 18334;
% specify complex trait
gwas_name = 'ibd2015';
% specify GWAS sample size
nsam = (12882+21770);
% specify hyper-parameters
eta_set = 0.3;
rho_set = (0:0.2:0.8);
theta0_set = (-3:0.05:-2.8);
theta_set = (0:0.25:1);
hyper_data.theta0 = theta0_set;
hyper_data.theta = theta_set;
hyper_data.eta = eta_set;
hyper_data.rho = rho_set;
clear *_set;
% OPTIONAL: specify RSS-E whole-genome baseline results
% source: https://doi.org/10.1038/s41467-018-06805-x
base_file = strcat(dat_path,gwas_name,'_null_seed_459_squarem_step2.mat');
% run RSS-NET
run('analysis_template.m');
% exit the program
exit;