n.pop: Gets the population number of the study

Description Usage Arguments Value Author(s)

Description

This function extracts informations from data.dict.xml files from the dbgap ftp server to get the population characteristics. Works only for parents studies.

Usage

1
n.pop(phs, consentgroups = TRUE, gender = TRUE)

Arguments

phs

dbGap study ID (phs00xxxx, or 00xxxx, or xxx)

consentgroup

if false, will return only the total number of participants

Value

a data.frame with 2 cols : name of the consent group and n total. Possibility to add the breakdown by gender

Author(s)

Gregoire Versmee, Laura Versmee


hms-dbmi/sandboxR documentation built on May 12, 2019, 1:36 a.m.