createInteractions: Create a differentially coexpressed data set with...

Description Usage Arguments Value See Also

View source: R/simulation.R

Description

Create a differentially coexpressed data set with interactions

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
createInteractions(
  M = 100,
  N = 100,
  label = "class",
  pct.imbalance = 0.5,
  meanExpression = 7,
  A = NULL,
  randSdNoise = 1,
  sdNoise = 0.4,
  sampleIndicesInteraction = NULL,
  verbose = FALSE
)

Arguments

M

An integer for the number of samples (rows)

N

An integer for the number of variables (columns)

label

A character vector for the name of the outcome column. class for classification and qtrait for regression

pct.imbalance

A numeric percentage to indicate proportion of the imbalaced samples. 0 means all controls and 1 mean all cases.

meanExpression

A numeric for the mean expression levels

A

A matrix representing a weighted, undirected network (adjacency)

randSdNoise

Random noise for the background expression levels

sdNoise

A numeric for the noise in the differential expression

sampleIndicesInteraction

A vector of integers of significant variables

verbose

A flag for sending verbose output to stdout

Value

A matrix representing the new new data set.

See Also

Other simulation: createMainEffects(), createMixedSimulation(), createSimulation(), splitDataset()


insilico/privateEC documentation built on May 22, 2020, 5:12 p.m.