ch.createRandomizedOverlapsFile: A function to randomize the relation between the probe names...

View source: R/ch.createRandomizedOverlapsFile.r

ch.createRandomizedOverlapsFileR Documentation

A function to randomize the relation between the probe names and the overlaps. This is used to test a Null model.

Description

A function to randomize the relation between the probe names and the overlaps. This is used to test a Null model.

Usage

ch.createRandomizedOverlapsFile(data, probeCols, shuffleNum = 10)

Arguments

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.

Value

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.

Examples

ch.createRandomizedOverlapsFile (df.myInputData, c("Item1", "Item2"))

ccpluncw/ccpl_R_chMorals documentation built on Feb. 4, 2024, 3:30 p.m.