generateGDSSample: Initialization of the section related to the sample...

View source: R/gdsWrapper.R

generateGDSSampleR Documentation

Initialization of the section related to the sample information in the gds file.

Description

This function initializesthe section related to the sample information in the gds file. The information is extracted from the data.frame pedDF passed to the function.

Usage

generateGDSSample(gds, pedDF, listSamples = NULL)

Arguments

gds

a gds.

pedDF

a data.frame containing the information related to the sample. It must have those columns: "sample.id", "Name.ID", "sex", "pop.group", "superPop" and "batch". The unique id of pedDF is Name.ID and the row.name is Name.ID too.

listSamples

a array with the sample from pedDF to keep

Value

the a array with the sample from pedDF keept

Author(s)

Pascal Belleau, Astrid DeschĂȘnes and Alexander Krasnitz

Examples


# TODO
gds <- "Demo GDS TODO"


belleau/aicsPaper documentation built on Aug. 4, 2022, 1:12 a.m.