makeExampleCountsEset: Make example ExpressionSet

makeExampleCountsEsetR Documentation

Make example ExpressionSet

Description

adapted from DESeq2::makeExampleDESeqDataSet

Usage

makeExampleCountsEset(
  n = 1000,
  m = 12,
  betaSD = 0,
  interceptMean = 4,
  interceptSD = 2,
  dispMeanRel = function(x) 4/x + 0.1,
  sizeFactors = rep(1, m)
)

Arguments

n

number of rows

m

number of columns

betaSD

the standard deviation for non-intercept betas, i.e. beta ~ N(0,betaSD)

interceptMean

the mean of the intercept betas (log2 scale)

interceptSD

the standard deviation of the intercept betas (log2 scale)

dispMeanRel

a function specifying the relationship of the dispersions on 2^trueIntercept

sizeFactors

multiplicative factors for each sample

Examples

eset <- makeExampleCountsEset()


alexvpickering/crossmeta documentation built on May 23, 2024, 5:06 a.m.