data_sim_voomlike: Data simulation function

View source: R/data_sim_voomlike.R

data_sim_voomlikeR Documentation

Data simulation function

Description

Adapted from the supplementary material from Law et al.

Usage

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

## 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)

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