Given the number of samples of the dataset from which the mocks should be
created, this function produces a
data.frame object with as many rows
as the number of mocks and as many columns as the number of samples. If an
odd number of samples is given, the lower even integer will be considered in
order to obtain a balanced design for the mocks.
createMocks(nsamples, N = 1000)
an integer representing the total number of samples.
number of mock comparison to generate.
N rows and
columns (if even). Each cell of the data frame contains the "grp1" or "grp2"
characters which represent the mock groups pattern.
# Generate the pattern for 100 mock comparisons for an experiment with 30 # samples mocks <- createMocks(nsamples = 30, N = 100) head(mocks)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.