wgs_adno_partitioner.Rd
This function creates data partitions for `lmer` modeling. To create data, first we load adnimerge and select specific columns. Then we load the WGS PCA data and select the required columns. In the next step, merge the two datasets into one. Finally, we merge WGS data by `PTID`. Data is melted and created into a tidy version before being used in data.table format.
is an integer number that represents the number of data is divided.
character vector contains names of variables in ADNI clinical data.
character vector contains names of variables in WGS PCA data.
is path of ADNI WGS data.
is path of PCA components WGS data.
is path of adnimerge.RData. It must contains clinical_variables columns.
is the save path of data partitions.
Fills missing values in selected columns using previous entry.
is the save path of SNP names.