createSampleID: Generate the samples ID for the simulated dataset.

Description Usage Arguments Value Author(s) Examples

View source: R/methylInheritanceSimInternalMethods.R

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

1
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

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

belleau/methylInheritanceSim documentation built on April 1, 2020, 2:43 p.m.