The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
SelfControlledCaseSeries is part of HADES.
SelfControlledCaseSeries is an R package for performing Self-Controlled Case Series (SCCS) analyses in an observational database in the OMOP Common Data Model.
<- getDbSccsData(
sccsData connectionDetails = connectionDetails,
cdmDatabaseSchema = cdmDatabaseSchema,
outcomeIds = 192671,
getDbSccsDataArgs = createGetDbSccsDataArgs(
exposureIds = 1124300
)
)
<- createStudyPopulation(
studyPop sccsData = sccsData,
outcomeId = 192671,
createStudyPopulationArgs = createCreateStudyPopulationArgs(
firstOutcomeOnly = FALSE,
naivePeriod = 180
)
)
= createEraCovariateSettings(
covarDiclofenac label = "Exposure of interest",
includeEraIds = 1124300,
start = 0,
end = 0,
endAnchor = "era end"
)
<- createSccsIntervalData(
sccsIntervalData
studyPop,
sccsData,createSccsIntervalDataArgs = createCreateSccsIntervalDataArgs(
eraCovariateSettings = covarDiclofenac
)
)
<- fitSccsModel(
model sccsIntervalData = sccsIntervalData,
fitSccsModelArgs = createFitSccsModelArgs()
)
model# SccsModel object
#
# Outcome ID: 192671
#
# Outcome count:
# outcomeSubjects outcomeEvents outcomeObsPeriods
# 192671 272243 387158 274449
#
# Estimates:
# # A tibble: 1 x 7
# Name ID Estimate LB95CI UB95CI logRr seLogRr
# <chr> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
# 1 Exposure of interest: Diclofenac 1000 1.18 1.13 1.24 0.167 0.0230
SelfControlledCaseSeries is an R package, with some functions implemented in C++.
Requires R (version 4.1.0 or higher). Installation on Windows requires RTools. Libraries used in SelfControlledCaseSeries require Java.
See the instructions here for configuring your R environment, including Java.
In R, use the following commands to download and install SelfControlledCaseSeries:
install.packages("remotes")
::install_github("ohdsi/SelfControlledCaseSeries") remotes
Documentation can be found on the package website.
PDF versions of the documentation are also available:
Read here how you can contribute to this package.
SelfControlledCaseSeries is licensed under Apache License 2.0
SelfControlledCaseSeries is being developed in R Studio.
Stable. Actively used in several projects.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.