data_sim_voomlike: Data simulation function

Description Usage References Examples

View source: R/data_sim_voomlike.R

Description

Adapted from the supplementary material from Law et al.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
data_sim_voomlike(
  seed = NULL,
  maxGSsize = 400,
  minGSsize = 30,
  beta = 0,
  do_gs = TRUE,
  longitudinal = TRUE,
  mixed_hypothesis = FALSE,
  n = 18,
  nindiv = 6,
  ntime = 3,
  propH1 = 0.1
)

References

Law, C. W., Chen, Y., Shi, W., & Smyth, G. K. (2014). voom: Precision weights unlock linear model analysis tools for RNA-seq read counts. Genome Biology, 15(2), R29.

Examples

1
2
3
4
5
6
## Not run: 
set.seed(123)
data_sims <- data_sim_voomlike(maxGSsize = 300)
data_sims <- data_sim_voomlike(maxGSsize = 300, beta = 1.8)

## End(Not run)

tcgsaseq documentation built on Sept. 13, 2020, 5:13 p.m.