Description Usage Arguments Value See Also
Create a differentially coexpressed data set with interactions
| 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
)
 | 
| 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 | 
A matrix representing the new new data set.
Other simulation: 
createMainEffects(),
createMixedSimulation(),
createSimulation(),
splitDataset()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.