createSampleID {methInheritSim}R Documentation

Generate the samples ID for the simulated dataset.

Description

Generate the samples ID for the simulated dataset. The standard format of the samples ID is : "F[Number for the generation]_[Number for the sample] _[OC for case or C for control]"

Usage

createSampleID(nbGeneration, nbSample)

Arguments

nbGeneration

a positive integer, the number of generations simulated.

nbSample

a positive integer, the number of controls (CTRL) and cases in the simulated dataset.

Value

a list containing a list of sample ID for each generation.

Author(s)

Pascal Belleau, Astrid Deschenes

Examples


## Create sample ID 
methInheritSim:::createSampleID(nbGeneration = 3, nbSample = 6)


[Package methInheritSim version 1.14.0 Index]