Description Details Author(s) References Examples
madsim allows to generate two conditions biological synthetic microarray dataset whith known characteristics. These data have similar behavior as those obtained with current microarray platforms.
| Package: | madsim |
| Type: | Package |
| Version: | 1.2.1 |
| Date: | 2016-12-07 |
| License: | GPL (>=2.0) |
This package has only one function
Doulaye Dembele Maintainer: Doulaye Dembele <doulaye@igbmc.fr>
Dembele D. (2013), A Flexible Microarray Data Simulation Model, Microarrays, 2013, 2(2):115-130
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # set parameters settings
fparams <- data.frame(m1 = 7, m2 = 7, shape2 = 4, lb = 4, ub = 14, pde = 0.02, sym = 0.5);
dparams <- data.frame(lambda1 = 0.13, lambda2 = 2, muminde = 1, sdde = 0.5);
sdn <- 0.4; rseed <- 50;
# generate synthetic data without using real microarray data as seed
mydata <- madsim(mdata=NULL, n=10000, ratio=0, fparams, dparams, sdn, rseed);
# calculate MMplot variables using samples 1 and 12
A <- 0.5*(mydata$xdata[,12] + mydata$xdata[,1]);
M <- mydata$xdata[,12] - mydata$xdata[,1];
# draw MA plot using samples 1 and 12
plot(A,M)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.