script:
Polygenic scores (PGSs) are calculated using the scripts in ./scripts/pgs-calculations
.
The scripts are described here.
We selected ## questions for longitudinal models. The data was converted to long format and other preprocessing needed for the mixed models. After fitting the models the plots are made using this script: ####
A number of publicly available data sources reflecting the development
of the pandemic were selected for correlation with subjective quality of life.
After preprocessing of the PGSs and traits, ./scripts/nationWideCorrelations.R
is used for creating figures and correlations.
A comparison was done betwen samples that were invited in the studies and samples
that were included for the polygenic scores.
After preprocessing of the PGSs and traits, ./scripts/pgsParticipationComparison.R
is used for creating figures and performing significance tests.
After preprocesssing of the PGSs and traits, ./scripts/plotOutcomeDistributions.R
can be used to plot the distributions of each of the outcome variables for which
we attempted to fit a time interaction.