R/subtyper.R
merge_ppmi_imaging_clinical_demographic_data.Rd
This function merges, cleans, and enriches clinical and demographic data from a neurological study. It checks for required columns, replaces placeholder values, merges datasets, and computes new variables.
merge_ppmi_imaging_clinical_demographic_data(
demog,
ppmidemog0,
pymf,
pymversion,
saa,
verbose = TRUE
)
DataFrame containing PPMI demographic information with columns like PATNO, BIRTHDT. An example filename from LONI would be Demographics_06Feb2024.csv
DataFrame containing curated PPMI clinical data including PATNO, EVENT_ID, age_at_visit, age. An example filename from LONI would be PPMI_Curated_Data_Cut_Public_20230612_rev.csv.
DataFrame containing imaging and additional clinical data keyed by subjectID, date and filename
A character string identifying the ANTsPyMM pipeline variant.
DataFrame (optional) containing supplemental clinical measurements with PATNO, EVENT_ID and CSFSAA.
boolean
A processed DataFrame with merged and enriched clinical and demographic information.
if (FALSE) { # \dontrun{
processed_data <- process_clinical_demographic_data(demog, ppmidemog0, saa, pymf)
} # }