The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
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[@]metanet.ch.
The PhenotypeR package helps us to assess the research-readiness of a set of cohorts we have defined. This assessment includes:
You can install PhenotypeR from GitHub:
# install.packages("remotes")
::install_github("ohdsi/PhenotypeR") remotes
library(omopgenerics)
library(CDMConnector)
library(PhenotypeR)
library(CohortConstructor)
library(dplyr)
<- DBI::dbConnect(duckdb::duckdb(dbdir = CDMConnector::eunomiaDir()))
con <- CDMConnector::cdmFromCon(con = con,
cdm cdmSchema = "main",
writeSchema = "main")
$gibleed <- conceptCohort(cdm = cdm,
cdmconceptSet = list(gibleed = 192671L),
name = "gibleed")
<- cdm$gibleed |>
result phenotypeDiagnostics()
summary(result)
#> A summarised_result object with 22475 rows, 43 different result_id, 1 different
#> cdm names, and 26 settings.
#> CDM names: An OMOP CDM database.
#> Settings: result_type, package_name, package_version, group, strata,
#> additional, min_cell_count, analysis, analysis_complete_database_intervals,
#> analysis_full_contribution, analysis_outcome_washout, analysis_repeated_events,
#> analysis_type, cdm_version, cohort_definition_id, denominator_age_group,
#> denominator_days_prior_observation, denominator_end_date, …, type, and
#> vocabulary_version.
Once we have our results we can quickly view them in an interactive application. This shiny app will be saved in a new directory and can be further customised.
shinyDiagnostics(result = result, directory = tempdir())
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.