-
Notifications
You must be signed in to change notification settings - Fork 1
/
NB_1_01_1launch.R
40 lines (30 loc) · 888 Bytes
/
NB_1_01_1launch.R
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
library(SourceSet)
library(Rgraphviz)
library(graphite)
library(graph)
library(Biobase)
library(statmod)
library(MASS)
library(surveillance)
library(edgeR)
library(RUVSeq)
library(tidyverse)
library(rlist)
path <- getwd()
source(paste0(path,'/poisson_data_gen.R'))
source(paste0(path,'/functions.R'))
source(paste0(path,'/models.R'))
source(paste0(path,'/main.R'))
`%notin%` <- Negate(`%in%`)
n <- 400
p <- 5
lambda_true <- 1
lambda_noise <- 0.1
number_cores <- 10
theta = 0.1
system.time(res_NB1_01_01 <- main(n_simulation = 5000, n=n, p=p,
lambda_true = lambda_true, lambda_noise = lambda_noise,
number_cores = number_cores,
equal = FALSE, permute = TRUE, which_graph = 1,
theta = theta, model="negbin"))
save(res_NB1_01_01,file= paste0(path,"/Results/resultsNB_1_01_01.RData"))