Functions to keep or filter out records that are collected in/associated with TEAM-ADNI study phase.
keep_teamadni() is used to keep/filter records that are associated with TEAM-ADNI study phase.
filter_out_teamadni() is used to exclude/remove records that are associated with TEAM-ADNI study phase.
See also
Other ADNI study protocol/phase:
adni_phase(),
adni_phase_order_num(),
adni_pttype(),
adni_study_track(),
convert_adni_phase_order_num(),
create_col_protocol(),
create_orig_protocol(),
original_study_protocol()
Examples
if (FALSE) { # \dontrun{
# To keep TEAM-ADNI study phase records from `REGISTRY` or `DXSUM` data
keep_teamadni(
.data = ADNIMERGE2::REGISTRY,
phase_cols = "COLPROT"
)
keep_teamadni(
.data = ADNIMERGE2::DXSUM,
phase_cols = "COLPROT"
)
} # }
if (FALSE) { # \dontrun{
# To keep any records for those who started joined ADNI study
# since the start of TEAM-ADNI study phase
filter_out_teamadni(
.data = ADNIMERGE2::REGISTRY,
phase_cols = "COLPROT"
)
filter_out_teamadni(
.data = ADNIMERGE2::DXSUM,
phase_cols = "COLPROT"
)
} # }
