countries_tbl: Creates a countries table.

View source: R/class-studies.R

countries_tblR Documentation

Creates a countries table.

Description

Creates a countries table. This function is used internally to create both the countries_of_origin and countries_of_recruitment slots of a studies object.

Usage

countries_tbl(
  study_id = character(),
  ancestry_id = integer(),
  country_name = character(),
  major_area = character(),
  region = character()
)

Arguments

study_id

GWAS Catalog study accession identifier.

ancestry_id

Ancestry identifier.

country_name

Country name, according to The United Nations M49 Standard of Geographic Regions.

major_area

Region name, according to The United Nations M49 Standard of Geographic Regions.

region

Sub-region name, according to The United Nations M49 Standard of Geographic Regions.

Value

A tibble whose columns are the named arguments to the function.


gwasrapidd documentation built on May 29, 2024, 4:31 a.m.