nonlin_sim_fn: Computing nonlinear simulations results

View source: R/compute_nonlin_sim.R View source: R/compute_nonlin_gene_sim.R

nonlin_sim_fnR Documentation

Computing nonlinear simulations results

Description

Computing nonlinear simulations results

Computing nonlinear simulations results

Usage

nonlin_sim_fn(
  n = 250,
  n_t = 5,
  beta = 2,
  nGenes = 1000,
  rho = 0.5,
  re_sd = 1,
  type
)

nonlin_sim_fn(
  n = 250,
  n_t = 5,
  beta = 2,
  nGenes = 1000,
  rho = 0.5,
  re_sd = 1,
  type
)

Examples


## Not run: 

for (n in c(50,100,150)) {
 betas <- seq(-2, 2, length = 11)
 standard.l <- list()
 for (i in 1:11) {
   standard.sim <- nonlin_sim_fn(type = 'standard',
                                 nGenes = 100,
                                 n = n,
                                 beta = betas[i],
                                 n_t = 5,
                                 re_sd = 1)
   standard.l[[as.character(betas[i])]] <- standard.sim
 }
}


## End(Not run)

## Not run: 
for (n in c(50,100,150)) {
 betas <- seq(-2, 2, length = 11)
 standard.l <- list()
 for (i in 1:11) {
   standard.sim <- nonlin_sim_fn(type = 'standard',
                                 nGenes = 100,
                                 n = n,
                                 beta = betas[i],
                                 n_t = 5,
                                 re_sd = 1)
   standard.l[[as.character(betas[i])]] <- standard.sim
 }
}

## End(Not run)


denisagniel/tcgsaseq documentation built on May 7, 2022, 1:22 a.m.