Name: SelfControlledCaseSeries
Owner: Observational Health Data Sciences and Informatics
Description: An R package for performing Self-Controlled Case Series (SCCS) analyses in an observational database in the OMOP Common Data Model.
Created: 2014-06-10 20:53:47.0
Updated: 2017-06-22 23:25:42.0
Pushed: 2017-12-13 05:41:04.0
Size: 4933
Language: R
GitHub Committers
User | Most Recent Commit | # Commits |
---|---|---|
Marc Suchard | 2017-05-19 17:30:18.0 | 30 |
Martijn Schuemie | 2018-03-19 16:43:42.0 | 109 |
Jamie Weaver | 2017-02-17 22:08:19.0 | 7 |
Ajit Londhe | 2017-12-12 17:02:15.0 | 1 |
Other Committers
User | Most Recent Commit | # Commits | |
---|---|---|---|
Schuemie | mschuemi@its.jnj.com | 2017-10-18 08:54:57.0 | 5 |
SelfControlledCaseSeries is an R package for performing Self-Controlled Case Series (SCCS) analyses in an observational database in the OMOP Common Data Model.
Data <- getDbSccsData(connectionDetails = connectionDetails,
cdmDatabaseSchema = cdmDatabaseSchema,
outcomeIds = 192671,
exposureIds = 1124300)
rDiclofenac = createCovariateSettings(label = "Exposure of interest",
includeCovariateIds = 1124300,
start = 0,
end = 0,
addExposedDaysToEnd = TRUE)
EraData <- createSccsEraData(sccsData,
naivePeriod = 180,
firstOutcomeOnly = FALSE,
covariateSettings = covarDiclofenac)
l <- fitSccsModel(sccsEraData)
ary(model)
csModel object summary
tcome ID: 192671
tcome count:
Event count Case count
2671 433433 137888
timates:
Name ID Estimate lower .95 upper .95 logRr seLogRr
Exposure of interest: Diclofenac 1000 1.274 1.213 1.336 0.2421 0.02431
SelfControlledCaseSeries is an R package, with some functions implemented in C++.
Requires R (version 3.2.2 or higher). Installation on Windows requires RTools. Libraries used in SelfControlledCaseSeries require Java.
On Windows, make sure RTools is installed.
The DatabaseConnector and SqlRender packages require Java. Java can be downloaded from http://www.java.com.
In R, use the following commands to download and install SelfControlledCaseSeries:
all.packages("devtools")
ary(devtools)
all_github("ohdsi/OhdsiRTools")
all_github("ohdsi/SqlRender")
all_github("ohdsi/DatabaseConnector")
all_github("ohdsi/Cyclops")
all_github("ohdsi/SelfControlledCaseSeries")
SelfControlledCaseSeries is licensed under Apache License 2.0
SelfControlledCaseSeries is being developed in R Studio.
Beta