dot-generateData: Generate data

.generateDataR Documentation

Generate data

Description

Generate data

Usage

.generateData(
  nb1c1,
  nb1c2,
  nb2c1,
  nb2c2,
  fraccond,
  fracbatch,
  fracunknown,
  condeffect,
  batcheffect,
  unknowneffect,
  unknowntype,
  analysisapproach,
  nvar,
  seed
)

Arguments

nb1c1, nb1c2, nb2c1, nb2c2

Number of samples in the respective groups (batch 1/2, condition 1/2)

fraccond, fracbatch

Fraction of variables affected by condition and batch, respectively

condeffect, batcheffect

Condition and batch effect size, respectively

analysisapproach

Type of statistical model to fit

nvar

Number of variables

seed

Random seed

Value

A list with three elements: the simulated data matrix (m), the results of the statistical test (res) and the sample annotation table (annot).

Author(s)

Charlotte Soneson


csoneson/ConfoundingExplorer documentation built on July 16, 2024, 10:59 p.m.