View source: R/ch.createRandomizedOverlapsFile.r
ch.createRandomizedOverlapsFile | R Documentation |
A function to randomize the relation between the probe names and the overlaps. This is used to test a Null model.
ch.createRandomizedOverlapsFile(data, probeCols, shuffleNum = 10)
data |
A dataframe with the overlap data processed from a typical values experiment. |
probeCols |
a vector of strings that specifies the names of the columns in "data" that contains the the probes. |
shuffleNum |
an integer specifying the number of times to "shuffle" the vector when randomizing the order. DEFAULT = 10. |
the overlaps dataframe with the newly randomized relations between the overlaps and the prompt names. WARNING: Do Not Confuse this file with the orginal file that has the correct relation between prompts and overlaps.
ch.createRandomizedOverlapsFile (df.myInputData, c("Item1", "Item2"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.