appendGDSSample: This function append the fields related to the samples. If...

View source: R/gdsWrapper.R

appendGDSSampleR Documentation

This function append the fields related to the samples. If the samples are part of a study you must uses the addStudyGDSSample

Description

This function append the fields related to the samples. The fields append are sample.id and the data.frame sample.annot. If the samples are in the section study the field related to the study must be fill.

Usage

appendGDSSample(gds, pedDF, batch = 1, listSamples = NULL)

Arguments

gds

a gds.

pedDF

a data.frame with the sample info. Must have the column 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$Name.ID to keep

Value

The integer 0 when successful.

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.