Skip to content

Commit

Permalink
Update ConstrainedPredictors.Rmd
Browse files Browse the repository at this point in the history
  • Loading branch information
jreps committed Oct 9, 2023
1 parent 8fe8845 commit 559c7ef
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 = FALSE}
```{r echo = T}
remotes::install_github('ohdsi/PhenotypeLibrary')
```


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

```{r echo = FALSE}
```{r echo = T}
PhenotypeLibrary::getPlCohortDefinitionSet(1165)
```

in general you can extract all the cohorts by running:

```{r echo = FALSE}
```{r echo = T}
phenotypeDefinitions <- PhenotypeLibrary::getPlCohortDefinitionSet(1152:1215)
```

Expand Down

0 comments on commit 559c7ef

Please sign in to comment.