View source: R/misc_functions.R
extract_cohort | R Documentation |
Create cohort from patient files
extract_cohort(filepath, patids = NULL, select = NULL, set = FALSE)
filepath |
Path to directory containing .txt files. |
patids |
Patids of patients to retain in the cohort. Character vector. Numeric values should not be used. |
select |
Character vector of column names to select. |
set |
If |
Data frame with patient information
## Extract cohort data
pat<-extract_cohort(filepath = system.file("aurum_data", package = "rcprd"))
pat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.