Description Usage Arguments Value Examples
Assign arrays to samples with stratification, a study design assigning arrays in each batch to each sample group proportionally.
1 | stratification.design(seed, num.array, batch.id)
|
seed |
an integer used to initialize a pseudorandom number generator. |
num.array |
number of arrays. |
batch.id |
a list of array indices grouped by batches when data were profiled. The length of the list must be equal to the number of batches in the data; the number of array indices must be the same as the number of samples. |
a vector of array IDs in the order of assigning to samples that are assumed to be sorted by sample group of interest As a result, the first half of the array IDs are assigned to group 1 and the second half of the array IDs are assigned to group 2.
1 2 3 | batch.id <- list(1:40, 41:64, (129:160) - 64, (161:192) - 64)
str.ind <- stratification.design(seed = 1, num.array = 128,
batch.id = batch.id)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.