Reads metadata and converts it to gwasglue2 format.
Usage
create_metadata(
metadata = NULL,
id = NA,
sample_size = NA,
nsnp = NA,
trait = NA,
sd = NA,
unit = NA,
ncontrol = NA,
build = NA,
population = NA,
ncase = NA,
...
)
Arguments
- metadata
A dataframe with metadata information. Not required.
- id
GWAS study ID.
- sample_size
Sample size.
- nsnp
Number of variants in the study.
- trait
Phenotype name corresponding the the variant.
- sd
Trait standard deviation.
- unit
Unit
- ncontrol
Nb of controls in study
- build
genome build version.
- population
Study sample population.
- ncase
Number of cases in study.
- ...
Other metadata information