Add to metadata in the SummarySet
Usage
addToMetadata(
summary_set,
id = getMetadata(summary_set)$id,
sample_size = getMetadata(summary_set)$sample_size,
nsnp = getMetadata(summary_set)$nsnp,
trait = getMetadata(summary_set)$trait,
sd = getMetadata(summary_set)$sd,
unit = getMetadata(summary_set)$unit,
ncontrol = getMetadata(summary_set)$ncontrol,
build = getMetadata(summary_set)$build,
population = getMetadata(summary_set)$population,
ncase = getMetadata(summary_set)$ncase
)
# S4 method for SummarySet
addToMetadata(
summary_set,
id = getMetadata(summary_set)$id,
sample_size = getMetadata(summary_set)$sample_size,
nsnp = getMetadata(summary_set)$nsnp,
trait = getMetadata(summary_set)$trait,
sd = getMetadata(summary_set)$sd,
unit = getMetadata(summary_set)$unit,
ncontrol = getMetadata(summary_set)$ncontrol,
build = getMetadata(summary_set)$build,
population = getMetadata(summary_set)$population,
ncase = getMetadata(summary_set)$ncase
)
Arguments
- summary_set
A gwasglue2 SummarySet object.
- 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
Number of controls in study.
- build
genome build version.
- population
Study sample population.
- ncase
Number of cases in study.