Skip to content

Commit

Permalink
Update a01_Introduction.Rmd
Browse files Browse the repository at this point in the history
  • Loading branch information
xihang-chen committed Nov 29, 2024
1 parent f93bf59 commit 6ca5bc1
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions vignettes/a01_Introduction.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,6 @@ cdm <- emptyCdmReference(cdmName = "mock") |>
con <- dbConnect(duckdb::duckdb())
cdm <- copyCdmTo(con = con, cdm = cdm, schema = "main", overwrite = T)
cdm$index_cohort |>
dplyr::glimpse()
cdm$marker_cohort |>
dplyr::glimpse()
```

Once we have established a connection to the database, we can use the `generateSequenceCohortSet()` function to find the intersection of the two cohorts. This function will provide us with the individuals who appear in both cohorts, which will be named **intersect** - another cohort in the cdm reference.
Expand All @@ -100,7 +94,6 @@ Once we have the intersect cohort, you are able to explore the temporal symmetry
```{r message= FALSE, warning=FALSE}
result <- summariseTemporalSymmetry(cohort = cdm$intersect,
timescale = "year")
result |> dplyr::glimpse()
plotTemporalSymmetry(result = result)
```
Expand Down

0 comments on commit 6ca5bc1

Please sign in to comment.