build_simulated_reference: Generate simulated differential expression for two conditions

View source: R/build_references.R

build_simulated_referenceR Documentation

Generate simulated differential expression for two conditions

Description

Generate simulated differential expression for two conditions

Usage

build_simulated_reference(
  p = 1000,
  log_mean = 1,
  log_var = 4,
  perturb_size = 0.5,
  base_correlation = NULL,
  concentration = 1e+06,
  save_name = NULL
)

Arguments

p

number of features (genes, taxa) to simulate

log_mean

log mean for condition 1

log_var

log variance for condition 1

perturb_size

percent of the log mean to use (on average) as the size of the noise component added to condition 1 to give condition 2

base_correlation

this is the base correlation matrix for simulated features in log space

concentration

concentration parameter for sampling the correlation across feature; if base_correlation is NULL and concentration = LARGE, features are effectively independent

save_name

optional tag to append to saved data file


kimberlyroche/codaDE documentation built on May 11, 2022, 12:40 a.m.