Skip to content

Commit

Permalink
fix check NOTE about undeclared dependencies in vignettes
Browse files Browse the repository at this point in the history
  • Loading branch information
egillax committed Apr 2, 2024
1 parent 89ed67c commit 115cbf8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vignettes/ConstrainedPredictors.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,20 @@ Here we provide a set of phenotypes that can be used as predictors in prediction

These phenotypes can be extracted from the PhenotypeLibrary R package. To install the R package run:

```{r echo = T}
```{r, echo = TRUE, message = FALSE, warning = FALSE, tidy = FALSE, eval=FALSE}
remotes::install_github('ohdsi/PhenotypeLibrary')
```


To extract the cohort definition for Alcoholism with an id of 1165, just run:

```{r echo = T}
```{r echo = TRUE, message = FALSE, warning = FALSE, tidy = FALSE, eval = FALSE}
PhenotypeLibrary::getPlCohortDefinitionSet(1165)
```

in general you can extract all the cohorts by running:

```{r echo = T}
```{r echo = TRUE, message = FALSE, warning = FALSE, tidy = FALSE, eval = FALSE}
phenotypeDefinitions <- PhenotypeLibrary::getPlCohortDefinitionSet(1152:1215)
```

Expand Down

0 comments on commit 115cbf8

Please sign in to comment.