Title: | CORe Multiple Sclerosis Outcomes Toolkit |
---|---|
Description: | Enable operationalized evaluation of disease outcomes in multiple sclerosis. ‘MSoutcomes’ requires longitudinally recorded clinical data structured in long format. The package is based on the research developed at Clinical Outcomes Research unit (CORe), University of Melbourne and Neuroimmunology Centre, Royal Melbourne Hospital. Kalincik et al. (2015) <doi:10.1093/brain/awv258>. Lorscheider et al. (2016) <doi:10.1093/brain/aww173>. Sharmin et al. (2022) <doi:10.1111/ene.15406>. Dzau et al. (2023) <doi:10.1136/jnnp-2023-331748>. |
Authors: | Sifat Sharmin [aut], Johannes Lorscheider [aut], Nathaniel Lizak [aut], Sam Harding-Forrester [aut], Winston Dzau [aut], Tomas Kalincik [aut, cre, cph] |
Maintainer: | Tomas Kalincik <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.2.0 |
Built: | 2024-11-26 06:24:44 UTC |
Source: | CRAN |
Identify sequential disability worsening and improvement events confirmed over a specified time period, using roving baseline EDSS. The identification of events is based on clinical visit records, with each record including entries for patient code, visit date, EDSS score, and days since the most recent relapse. If a baseline EDSS score is not provided, it is determined as the first EDSS score recorded in the dataset outside 30 days (the default) of a relapse. Following a confirmed disability worsening or improvement event, the minimum EDSS score within the confirmation period, regardless of the recency of a relapse, becomes the new baseline EDSS score.
CDEseq(Visits, mconf = 3 * 30.25, tRelapse = 30)
CDEseq(Visits, mconf = 3 * 30.25, tRelapse = 30)
Visits |
A data frame consisting of 6 columns: ID, dateEDSS, EDSS, daysPostRelapse (days since most recent relapse), bEDSS (baseline EDSS score), base.date (date of bEDSS). |
mconf |
Confirmation period (days) for EDSS worsening or improvement. |
tRelapse |
Minimum time in days since the most recent relapse to EDSS assessment. |
A data frame.
Sharmin, et al. European Journal of Neurology 2022;29(8):2321-2334.
data(SampleData) output<-CDEseq(SampleData)
data(SampleData) output<-CDEseq(SampleData)
Identify disability improvement events confirmed over a specified time period. The identification of events is based on clinical visit records, with each record including entries for patient code, visit date, EDSS score, and days since the most recent relapse. If a baseline EDSS score is not provided, it is determined as the first EDSS score recorded in the dataset outside 30 days (the default) of a relapse. Following a confirmed disability improvement event, the minimum EDSS score within the confirmation period, regardless of the recency of a relapse, becomes the new baseline EDSS score. By default, only identify those improvement events that are sustained for the remainder of the follow-up.
CDI(Visits, mconf = 3 * 30.25, tRelapse = 30, sustained = TRUE)
CDI(Visits, mconf = 3 * 30.25, tRelapse = 30, sustained = TRUE)
Visits |
A data frame consisting of 6 columns: ID, dateEDSS, EDSS, daysPostRelapse (days since most recent relapse), bEDSS (baseline EDSS score), base.date (date of bEDSS). |
mconf |
Confirmation period (days) for EDSS improvement. |
tRelapse |
Minimum time in days since the most recent relapse to EDSS assessment. |
sustained |
If TRUE, the default, identifies only those EDSS improvement events sustained for the remaining recorded follow-up. |
A data frame.
Kalincik, et al. Brain 2015;138(11):3287-3298.
data(SampleData) output<-CDI(SampleData)
data(SampleData) output<-CDI(SampleData)
Identify disability worsening events confirmed over a specified time period. The identification of events is based on clinical visit records, with each record including entries for patient code, visit date, Expanded Disability Status Scale (EDSS) score, and days since the most recent relapse. If a baseline EDSS score is not provided, it is determined as the first EDSS score recorded in the dataset outside 30 days (the default) of a relapse. Following a confirmed disability worsening event, the minimum EDSS score within the confirmation period, regardless of the recency of a relapse, becomes the new baseline EDSS score. By default, only identify those worsening events that are sustained for the remainder of the follow-up.
CDW(Visits, mconf = 3 * 30.25, tRelapse = 30, sustained = TRUE)
CDW(Visits, mconf = 3 * 30.25, tRelapse = 30, sustained = TRUE)
Visits |
A data frame consisting of 6 columns: ID, dateEDSS, EDSS, daysPostRelapse (days since most recent relapse), bEDSS (baseline EDSS score), base.date (date of bEDSS). |
mconf |
Confirmation period (days) for EDSS worsening. |
tRelapse |
Minimum time in days since the most recent relapse to EDSS assessment. |
sustained |
If TRUE, the default, identifies only those EDSS worsening events sustained for the remaining recorded follow-up. |
A data frame.
Kalincik, et al. Brain 2015;138(11):3287-3298.
data(SampleData) output<-CDW(SampleData)
data(SampleData) output<-CDW(SampleData)
Identify progression independent of relapse activity (PIRA) events confirmed over a specified time period. The identification of events is based on clinical visit records, each record including entries for patient code, visit date, EDSS score, and days since most recent relapse. If a baseline EDSS score is not provided, it is determined as the first EDSS score recorded in the dataset outside 30 days (the default) of a relapse. Following a confirmed PIRA event, the minimum EDSS score within the confirmation period, regardless of the recency of a relapse, becomes the new baseline EDSS score. Following a relapse, the first EDSS score recorded in the dataset outside 30 days (the default) of a relapse, becomes the new baseline EDSS score. By default, identify PIRA events that are sustained for the remainder of the follow-up.
PIRA(Visits, mconf = 3 * 30.25, tRelapse = 30, sustained = TRUE)
PIRA(Visits, mconf = 3 * 30.25, tRelapse = 30, sustained = TRUE)
Visits |
A data frame consisting of 6 columns: ID, dateEDSS, EDSS, daysPostRelapse (days since most recent relapse), bEDSS (baseline EDSS score), base.date (date of bEDSS). |
mconf |
Confirmation period (days) for EDSS progression. |
tRelapse |
Minimum time in days since the most recent relapse to EDSS assessment. |
sustained |
If TRUE, the default, identifies only those PIRA events sustained for the remaining recorded follow-up. |
A data frame.
Dzau, et al. Journal of Neurology, Neurosurgery & Psychiatry 2023;94(12):984-991.
data(SampleData) output<-PIRA(SampleData)
data(SampleData) output<-PIRA(SampleData)
A long data frame containing 12 variables 'ID', 'dateEDSS', 'EDSS', 'FSpyr', 'FScrbl', 'FSbstem', 'FSsens', 'FSsph', 'FSvis', 'FScereb', 'FSamb', 'daysPostRelapse'.
SampleData
SampleData
A long data frame with 798 rows and 12 variables:
(character) patient ID
(date YYYY-mm-dd) date of disability score
(numeric) disability score (Expanded Disability Status Scale; EDSS)
(numeric) pyramidal functional system score
(numeric) cerebellar functional system score
(numeric) brainstem functional system score
(numeric) sensory functional system score
(numeric) bowel & bladder functional system score
(numeric) visual functional system score
(numeric) cerebral functional system score
(numeric) ambulation functional system score
(numeric) days since most recent relapse
Identify conversion from relapsing-remitting multiple sclerosis (RRMS) to secondary progressive multiple sclerosis (SPMS), using the CORe definition, including Functional System Scores (FSS) of Expanded Disability Status Scale (EDSS). The identification of SPMS is based on clinical visit records, each record including entries for patient code, visit date, EDSS score, FSS, ambulation score, and days since most recent relapse. If a baseline EDSS score and corresponding FSS are not provided, these are determined as the first EDSS score and corresponding FSS recorded in the dataset, outside 30 days (the default) of a relapse. Following a relapse, the first EDSS score recorded in the dataset outside 30 days (the default) of a relapse, becomes the new baseline EDSS score. SPMS is sustained for the remainder of the follow-up, unless followed by two consecutive improvements in EDSS scores.
spmsDx( visits, minEDSS = 4, minFSpyr = 2, tRelapse = 30, tProgression = 3 * 30.25, tRegression = 9 * 30.25, tRelProg = 6 * 30.25 )
spmsDx( visits, minEDSS = 4, minFSpyr = 2, tRelapse = 30, tProgression = 3 * 30.25, tRegression = 9 * 30.25, tRelProg = 6 * 30.25 )
visits |
A data frame consisting of 22 columns: ID, dateEDSS, EDSS, FSpyr (pyramidal FSS), FScrbl (cerebellar FSS), FSbstem (brainstem FSS), FSsens (sensory FSS), FSsph (bowel bladder FSS), FSvis (visual FSS), FScereb (cerebral FSS), FSamb (ambulation score), dateBlineVisit, bEDSS (baseline EDSS), bFSpyr (baseline pyramidal FSS), bFScrbl (baseline cerebellar FSS), bFSbstem (baseline brainstem FSS), bFSsens (baseline sensory FSS), bFSsph (baseline bowel bladder FSS), bFSvis (baseline visual FSS), bFScereb (baseline cerebral FSS), bFSamb (baseline ambulation score), daysPostRelapse (days since most recent relapse). |
minEDSS |
Minimum EDSS score required to reach SPMS conversion. |
minFSpyr |
Minimum pyramidal FSS to reach SPMS conversion. |
tRelapse |
Minimum time in days since the most recent relapse to EDSS assessment. |
tProgression |
SPMS confirmation period in days. |
tRegression |
Confirmation period for EDSS improvement in days. |
tRelProg |
Confirmation period (days) for re-baselining EDSS (after a relapse led to non-confirmed increase in EDSS). |
A data frame.
Lorscheider J, et al. Brain 2016; 139 (9): 2395-2405.
data(SampleData) output<-spmsDx(SampleData)
data(SampleData) output<-spmsDx(SampleData)
Identify conversion from relapsing-remitting multiple sclerosis (RRMS) to secondary progressive multiple sclerosis (SPMS), using the CORe definition without Functional System Scores (FSS) of Expanded Disability Status Scale (EDSS). The identification of SPMS is based on clinical visit records, each record including entries for patient code, visit date, EDSS score, and days since most recent relapse. If a baseline EDSS score is not provided, this is determined as the first EDSS score recorded in the dataset, outside 30 days (the default) of a relapse. Following a relapse, the first EDSS score recorded in the dataset outside 30 days (the default) of a relapse, becomes the new baseline EDSS score. SPMS is sustained for the remainder of the follow-up, unless followed by two consecutive improvements in EDSS scores.
spmsDx_no_fss( visits, minEDSS = 4, tRelapse = 30, tProgression = 3 * 30.25, tRegression = 9 * 30.25, tRelProg = 6 * 30.25 )
spmsDx_no_fss( visits, minEDSS = 4, tRelapse = 30, tProgression = 3 * 30.25, tRegression = 9 * 30.25, tRelProg = 6 * 30.25 )
visits |
A dataframe consisting of 6 columns: ID, dateEDSS, EDSS, dateBlineVisit, bEDSS (baseline EDSS), daysPostRelapse (days since most recent relapse). |
minEDSS |
Minimum EDSS score required to reach SPMS conversion. |
tRelapse |
Minimum time in days since the most recent relapse to EDSS assessment. |
tProgression |
SPMS confirmation period in days. |
tRegression |
Confirmation period for EDSS improvement in days. |
tRelProg |
Confirmation period (days) for re-baselining EDSS (after a relapse led to non-confirmed increase in EDSS). |
A data frame.
Lorscheider J, et al. Brain 2016; 139 (9): 2395-2405.
Brown JW, et al. JAMA 2019; 321 (2): 175-87.
Lizak N, et al. JAMA Neurology 2020; 77 (11): 1398-407.
data(SampleData) output<-spmsDx_no_fss(SampleData)
data(SampleData) output<-spmsDx_no_fss(SampleData)