Skip to contents

Introduction

This article describes the procedure to calculate a modified version of the Preclinical Alzheimer Cognitive Composite PACC score in ADNI study based on Donohue et al. (2014) approach.

According to Donohue et al. (2014), the PACC score is a baseline standardize composite of:

  • Free and Cued Selective Reminding Test (FCSRT) score

  • Logical Memory IIa Delayed Recall (LM) score

  • Digit Symbol Substitution Test (DSST) score, and

  • Mini-Mental State Examination (MMSE) total score

Each of component scores are required to be standardized by a corresponding baseline score before computing the composite score. Also, it is required to reorient the directional effect of each component scores in order to indicate that higher values of the composite score align with better performance in cognition.

In ADNI study, some of these components are either collected partially during certain study phase or not available at all. Since FSCRT is not available at all, the Delayed Recall portion of the Alzheimer’s Disease Assessment Scale (ADAS), which is called ADAS-Cog Q4 score, will be used as a proxy. The ADAS-Cog Q4 score ranges from 0 to 10 points where higher value indicates worse condition. Similarly, a logarithm scale of Trails B score will be used as a proxy for DSST. Therefore, the following two modified version of PACC composite scores are calculated:

  1. mPACCdigit: Using the actual DSST score and only calculated for the early phase of ADNI study since DSST was collected in ADNI1 phase.

  2. mPACCtrailsB: Using a logarithm scale of Trails B score as a proxy for DSST, and the score may available across all ADNI study phases.

Load Required R Packages

# ADNI study R data package
library(ADNIMERGE2)

Compute PACC Composite Score

Data Preparation

All raw PACC component data files are now available at the data-sharing platform. Those data files were downloaded from the data-sharing platform on the same date. Please click below to see the list of all required data files for generating PACC scores in ADNI study.

Show all required raw data files for [PACC] score

The following r chunks illustrate the data preparation steps before computing the final PACC score.

ADNIMERGE2:::check_pacc_data_source(params$DATA_SOURCE)
if (params$DATA_SOURCE %in% "EXTERNAL") {
  data_names <- c("ADAS", "MMSE", "NEUROBAT", "REGISTRY", "DXSUM")
  ADNIMERGE2:::check_list_names(x = params$DATA_LIST, list_names = data_names)
  data_status <- lapply(data_names, function(x) {
    check_object_type(params$DATA_LIST[[x]], "data.frame")
  })
  DATA_LIST <- params$DATA_LIST[c("ADAS", "MMSE", "NEUROBAT")]
  REGISTRY <- params$DATA_LIST$REGISTRY
  DXSUM <- params$DATA_LIST$DXSUM
}
if (params$DATA_SOURCE %in% "ADNIMERGE2") {
  DATA_LIST <- list()
  REGISTRY <- ADNIMERGE2::REGISTRY
  DXSUM <- ADNIMERGE2::DXSUM
}
PACC_RAW_DATA_LIST <- ADNIMERGE2:::prepare_pacc_input_data(
  data_source = params$DATA_SOURCE,
  external_data_list = DATA_LIST
)
# names(PACC_RAW_DATA_LIST)
pacc_adas_q4score_long <- PACC_RAW_DATA_LIST$PACC_ADAS_LONG
pacc_mmse_long <- PACC_RAW_DATA_LIST$PACC_MMSE_LONG
pacc_neurobat_long <- PACC_RAW_DATA_LIST$PACC_NEUROBAT_LONG

The main raw datasets are converted in a long format and presented as follow:

  • pacc_adas_q4score_long: A dataset contains the raw ADAS-Cog Q4 score.

  • pacc_mmse_long: A dataset contains the MMSE score from MMSE table.

  • pacc_neurobat_long: A dataset contains Logical Memory - Delayed Recall (LDELTOTL), Digit Symbol Substitution (DIGITSCR), and Trails B (TRABSCOR) raw scores from Neuropsychological Battery (NEUROBAT) table.

Data Preparation Assumption

  • During the raw dataset preparation, the screening fail visit code in ADNI1 study phase was mapped to the actual screening visit code.

  • Given that some of the PACC component assessments are either not collected at baseline visit at all or partially collected at baseline visit in specific ADNI study phase, it is reasonable to carried forward the screening visit record of an assessment as corresponding baseline record if the baseline assessment result is missing/unknown. For examples, MMSE assessment was not collected at baseline visit at all since it is be used as one of inclusion/exclusion criteria at screening visit in ADNI study. Similarly, other component scores from Neuropsychological Battery assessments (i.e., LDELTOTL, DIGITSCR, and TRABSCOR) are partially collected at baseline visit in certain ADNI study phase

The following r chuck demonstrate how the screening-baseline visit adjustment is preformed by carrying forward any screening visit record as a baseline record using adjust_scbl_record() function. This adjustment is only preformed if a baseline record was collected or missing.

# Adjustment of screening-baseline record
id_vars <- c("COLPROT", "PTID", "RID", "VISCODE", "SCORE_SOURCE")

## MMSE ----
pacc_mmse_long <- bind_rows(
  pacc_mmse_long,
  adjust_scbl_record(
    .data = pacc_mmse_long,
    adjust_date_col = "VISDATE",
    check_col = "SCORE"
  ) %>%
    filter(VISCODE %in% get_baseline_vistcode())
) %>%
  assert_uniq(all_of(id_vars)) %>%
  set_as_tibble()

## NEUROBAT ----
neurobat_vars <- c("LDELTOTL", "DIGITSCR", "TRABSCOR")

adjusted_bl_neurobat <- adjust_scbl_record(
  .data = pacc_neurobat_long,
  wide_format = FALSE,
  extra_id_cols = "SCORE_SOURCE",
  adjust_date_col = "VISDATE",
  check_col = "SCORE"
) %>%
  # Only baseline records
  filter(VISCODE %in% get_baseline_vistcode())

pacc_neurobat_long <- pacc_neurobat_long %>%
  filter(!VISCODE %in% get_baseline_vistcode()) %>%
  bind_rows(adjusted_bl_neurobat) %>%
  distinct() %>%
  assert_uniq(all_of(id_vars)) %>%
  set_as_tibble()

# ADAS-cog Q4 Score ----
# Only collected at baseline visit
# pacc_adas_q4score_long <- pacc_adas_q4score_long %>%
# set_as_tibble()

The next step is to combine those input raw datasets and convert into a wide format using the study data collection phase/protocol and study visit code per subject.

# Bind PACC input raw-data
pacc_input_data_long <- bind_rows(
  pacc_mmse_long,
  pacc_neurobat_long,
  pacc_adas_q4score_long
) %>%
  select(-any_of("ORIGPROT"))

# PACC component vars
pacc_component <- c("ADASQ4SCORE", "MMSE", neurobat_vars)
pacc_component_list <- as.list(pacc_component)
names(pacc_component_list) <- pacc_component
# Get common VISCODE2: adjusting previously computed VISCODE2 across components
pacc_input_data_long <- get_common_viscode2(
  .data = pacc_input_data_long,
  id_cols = c("COLPROT", "PTID", "RID", "VISCODE"),
  col_order = pacc_component,
  quiet = TRUE
) %>%
  mutate(VISCODE2 = COM_VISCODE2) %>%
  select(-COM_VISCODE2)
# Convert into wide format
pacc_input_data_wide <- pacc_input_data_long %>%
  unite(col = "SCORE_VISDATE", SCORE, VISDATE, sep = "-/") %>%
  pivot_wider(
    names_from = SCORE_SOURCE,
    values_from = SCORE_VISDATE
  ) %>%
  assert_uniq(all_of(c("COLPROT", "PTID", "RID", "VISCODE"))) %>%
  mutate(across(all_of(pacc_component), ~ strsplit(as.character(.), "-/"))) %>%
  unnest_wider(all_of(pacc_component), names_sep = "_") %>%
  rename_with(~ str_remove_all(.x, "\\_1$"), starts_with(pacc_component)) %>%
  rename_with(~ str_replace_all(.x, "2$", "VISDATE"), starts_with(pacc_component)) %>%
  mutate(across(starts_with(pacc_component), ~ ifelse(.x %in% "NA", NA, as.character(.x)))) %>%
  mutate(across(all_of(pacc_component), as.numeric))

Some of the PACC component may not be collected on the same date although those assessments could be collected at the same study visit. Additionally, some of the component specific screening records are carried forward as a baseline record including screening visit/assessment collection date, as described previously. To get a representative common date associated with a PACC score per study visit, component collection dates at each study visit are compared, and the latest (maximum) date will be selected as a PACC assessment completion date.

We use get_vars_common_date() function to get a common PACC date per specific study visit per subject as shown in the following two r chunks.

# Add visit date
pacc_input_data_wide <- pacc_input_data_wide %>%
  left_join(
    REGISTRY %>%
      select(COLPROT, RID, VISCODE, EXAMDATE) %>%
      set_as_tibble(),
    by = c("COLPROT", "RID", "VISCODE")
  ) %>%
  verify(nrow(.) == nrow(pacc_input_data_wide))
# Get common date per record
pacc_input_data_wide <- get_vars_common_date(
  .data = pacc_input_data_wide,
  date_cols = paste0(pacc_component, "_VISDATE"),
  compared_ref_date = TRUE,
  ref_date_col = "EXAMDATE",
  select_method = "max",
  preferred_date_col = "COMMON_DATE"
) %>%
  rename("PACC_VISDATE" = FINAL_DATE)
pacc_input_data_wide <- pacc_input_data_wide %>%
  # Add enrollment date
  left_join(
    get_adni_enrollment(.registry = REGISTRY) %>%
      mutate(RID = as.character(RID)) %>%
      select(ORIGPROT, RID, ENRLDT = EXAMDATE, ENRLFG),
    by = "RID"
  ) %>%
  # Add baseline diagnostics status
  left_join(
    get_adni_blscreen_dxsum(
      .dxsum = DXSUM,
      phase = "Overall",
      visit_type = "baseline"
    ) %>%
      mutate(RID = as.character(RID)) %>%
      select(RID, DX = DIAGNOSIS, DXDATE = EXAMDATE) %>%
      assert_uniq(RID),
    by = "RID"
  )

Component Baseline Score Summaries

The next step is to calculate component specific baseline summaries that will be used to normalize component score. This baseline statistic can be calculated based on user-defined standardization population. Here, we define the standardization population as follows:

  • New enrolled subject in ADNI study

  • Subjects with baseline Cognitive Normal (CN) diagnostics status

The following r chunk shows how the PACC component baseline score is summarized across the baseline diagnostics status based on the above defined standardization population. The summary result is generated using get_score_summary_stats() function.

NOTE: It is recommended to apply a logarithm transformation of Trails B score if the score is not already in a logarithm scale.

pacc_component_bl <- pacc_input_data_wide %>%
  mutate(TRABSCOR = log(TRABSCOR + 1)) %>%
  # Baseline visit for new enrollee
  filter(ENRLFG %in% "Yes") %>%
  group_by(RID) %>%
  filter(ORIGPROT == COLPROT) %>%
  filter(VISCODE %in% get_baseline_vistcode()) %>%
  ungroup() %>%
  assert_uniq(RID) %>%
  assert_uniq(PTID)

pacc_component_bl.summary <- compute_score_summary(
  .data = pacc_component_bl,
  wideFormat = TRUE,
  scoreVar = pacc_component,
  groupVar = "DX",
  filterGroup = "CN"
)

pacc_component_bl.summary %>%
  mutate(VAR = ifelse(VAR == "TRABSCOR", "LOG_TRABSCOR", VAR)) %>%
  rename(`Baseline DX` = DX, `Component` = VAR) %>%
  datatable(
    caption = "PACC Component Standardization Baseline Summary",
    searching = FALSE
  )

Compute PACC Score

The composite PACC score is the sum of standardized component scores adjusted by the number of components. The following conditions are required to be checked before computing the PACC score.

  • Trails B Measurement Scale: To identify whether the score is in a logarithm scale. For example, the Trails B score is not in a logarithm scale. We need either to map the raw score values to logarithm scale prior to using a scoring function or to specify an argument that allows us to perform a logarithm transformation inside a scoring function.

  • Standardized Components Score: Each component scores are normalized.

  • Standardized Component Directional Effect: To verify the same directional effect across standardized component score, and reoriented standardized component scores as needed since the composite score is the sum of these standardized scores. In ADNI study, ADAS-cog Q4 and Trails B scores have opposite directional effect compared to the remaining PACC component scores. Higher values of those two components indicates worse condition. Thus, the directional effect of those two standardized components are required to be re-oriented as the remaining components. As a result, higher values of the composite score would indicate better condition/higher performance in cognition.

  • Number of Missing Components: The composite score is only calculated when there are at least two none missing components at a given study visit per subject.

The ADNIMERGE2::compute_pacc_score function can be used to compute the two modified composite PACC scores in ADNI study. Each each component scores are mean centered and divided by the baseline sample standard deviation of that component to create standardized z scores (Donohue et al. (2014)).

The next r chunk shows how to calculate the PACC composite score based on a wide format input component score, a standardization baseline summary, and with a logarithm transformation of Trails B score inside in the scoring function.

PACC <- compute_pacc_score(
  .data = pacc_input_data_wide,
  bl.summary = pacc_component_bl.summary,
  componentVars = pacc_component_list,
  rescale_trailsB = TRUE,
  keepComponents = TRUE,
  wideFormat = TRUE
)

PACC <- PACC %>%
  mutate(RID = as.numeric(RID)) %>%
  rename_with(~ str_replace_all(.x, "\\.zscore", "Z"), ends_with(".zscore")) %>%
  create_orig_protocol()

PACC <- PACC %>%
  select(all_of(pacc_data_dic$FLDNAME)) %>%
  mutate(across(all_of(pacc_component), as.numeric)) %>%
  mutate(across(ends_with("_VISDATE"), ~ as.Date(.x))) %>%
  labelled::set_variable_labels(
    .labels = pacc_data_dic$LABEL,
    .strict = TRUE
  )
Show PACC Variables

Baseline Modified-PACC Score

The following r chunks show how to get a baseline PACC composite scores based on the PACC data. Similar results can be obtained using ADSL or ADQS derived datasets. For more information regarding how to get baseline PACC scores from those derived datasets, please see ADNI-Enrollment and ADNIMERGE2-Analysis-Data articles.

# Modified PACC using DSS score
baseline_mPACCdigit <- PACC %>%
  # Only in ADNI1 study phase
  filter(COLPROT == adni_phase()[1]) %>%
  filter(ORIGPROT == COLPROT) %>%
  filter(VISCODE %in% get_baseline_vistcode()) %>%
  # Enrolled subjects
  filter(ENRLFG %in% "Yes") %>%
  assert_uniq(RID) %>%
  select(RID, ORIGPROT, mPACCdigit, DX)

# Modified PACC using Trails B score as a proxy for DSS
baseline_mPACCtrailsB <- PACC %>%
  filter(ORIGPROT == COLPROT) %>%
  filter(VISCODE %in% get_baseline_vistcode()) %>%
  # Enrolled subjects
  filter(ENRLFG %in% "Yes") %>%
  assert_uniq(RID) %>%
  select(RID, ORIGPROT, mPACCtrailsB, DX)
# Bind both modified PACC scores in long format
baseline_PACC <- bind_rows(
  baseline_mPACCtrailsB %>%
    mutate(
      SCORE = mPACCtrailsB,
      SCORE_NAME = "mPACCtrailsB"
    ),
  baseline_mPACCdigit %>%
    mutate(
      SCORE = mPACCdigit,
      SCORE_NAME = "mPACCdigit"
    )
) %>%
  group_by(SCORE_NAME) %>%
  mutate(SCORE_NAME = paste0(SCORE_NAME, " (n = ", sum(!is.na(SCORE)), ")")) %>%
  ungroup()

baseline_PACC %>%
  ggplot2::ggplot(aes(x = SCORE)) +
  geom_histogram() +
  facet_wrap(~SCORE_NAME, scales = "free_y") +
  labs(x = "Baseline Modified PACC Score", y = "Count") +
  theme_bw(base_size = 12)

Baseline Modiffied PACC score

NOTE: We recommend to use continuous time point for PACC score in longitudinal data analysis.

References

Donohue, Michael C, Reisa A Sperling, Ronald Petersen, et al. 2017. “Association Between Elevated Brain Amyloid and Subsequent Cognitive Decline Among Cognitively Normal Persons.” Jama 317 (22): 2305–16. https://doi.org/10.1001/jama.2017.6669.
Donohue, Michael C, Reisa A Sperling, David P Salmon, et al. 2014. “The Preclinical Alzheimer Cognitive Composite: Measuring Amyloid-Related Decline.” JAMA Neurology 71 (8): 961–70. https://doi.org/10.1001/jamaneurol.2014.803.