Skip to contents

Computes the overall A-status by OR-combining any subset of these biomarkers:

  • ab40

  • ab42

  • ab42_ab40_ratio

  • amyloid_pet

At least one of these must be supplied. Missing (zero-length) inputs are treated as NA to allow proper Kleene OR logic.

Usage

A(
  ab40 = bmk(),
  ab42 = bmk(),
  ab42_ab40_ratio = bmk(),
  amyloid_pet = bmk(),
  .classification = c("2018", "2024")
)

Arguments

ab40

AB40 as a bmk or character vector (no default; can omit)

ab42

AB42 as a bmk or character vector (no default; can omit)

ab42_ab40_ratio

AB42/AB40 ratio as a bmk or character vector (no default; can omit)

amyloid_pet

Amyloid PET as a bmk or character vector (no default; can omit)

.classification

ATN classification scheme.

Value

A bmk vector representing the combined A-status — one biomarker positive is sufficient to render A-status positive.

Examples

A(ab40 = "+")
#> [1] +
#> Levels: - ~ +

A(ab40 = "+", ab42 = "-")
#> [1] +
#> Levels: - ~ +

A(ab40 = "-", ab42 = "-")
#> [1] -
#> Levels: - ~ +