Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

simulateData

Simulate Data for Package Testing and Demonstration Purposes


Description

Simulate Data for Package Testing and Demonstration Purposes

Usage

simulateData(nCols = 40, nRows = 1000, nEffectRows = 5, nNoEffectCols = 5,
 betweenClassDifference = 1, withinClassSd = 0.5)

Arguments

nCols

number of samples; currently this should be an even number

nRows

number of features (genes)

nEffectRows

number of differentially expressed features

nNoEffectCols

number of samples for which the profile of a differentially expressed feature will be set similar to the other class

betweenClassDifference

Average mean difference between the two classes to simulate a certain signal in the features for which an effect was introduced; the default is set to 1

withinClassSd

Within class standard deviation used to add a certain noise level to the features for which an effect was introduced; the default standard deviation is set to 0.5

Value

object of class ExpressionSet with the characteristics specified

Note

The simulation assumes the variances are equal between the two classes. Heterogeneity could easily be introduced in the simulation if this would be requested by the users.

Author(s)

W. Talloen and T. Verbeke

Examples

someEset <- simulateData(nCols = 40, nRows = 1000, nEffectRows = 5, nNoEffectCols = 5)
someEset

a4Core

Automated Affymetrix Array Analysis Core Package

v1.38.0
GPL-3
Authors
Willem Talloen [aut], Tobias Verbeke [aut], Laure Cougnaud [cre]
Initial release
2020-10-14

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.