splatsimExp: Simulate expression that follows an exponential model...

Description Usage Arguments Value Examples

View source: R/simulation_functions_splatter.R

Description

Simulate expression that follows an exponential model response = response = a * exp(sign * (b * dose)^d)

Usage

1
2
3
4
5
6
7
8
9
splatsimExp(
  doses,
  mean = 1,
  fc = 1.5,
  power = FALSE,
  max_iter = 10,
  verbose = FALSE,
  ...
)

Arguments

doses

A vector of doses to model

mean

A number representing the value at dose 0

fc

A number representing the maximum fold-change

power

set as TRUE to randomize variable d (default = 1)

max_iter

A number representing the number of iterations to try before relaxing the maximum fold-change criteria

verbose

A logical to print additional information

...

Additional arguments

Value

a list of the model fit parameters including a resp vector containing values for each dose group and the fit parameters

Examples

1
splatsimExp(c(0, 1, 3, 10, 30), mean = 1, fc = 1.5)

zacharewskilab/splattdr documentation built on Dec. 23, 2021, 9:11 p.m.