Function to encapsulate all the Barrett's functions together. This includes the Prague score and the worst pathological grade and then feeds both of these things into the follow up function. The output is a dataframe with all the original data as well as the new columns that have been created.
Arguments
- Endodataframe
endoscopy dataframe of interest
- EndoReportColumn
Endoscopy report field of interest as a string vector
- EndoReportColumn2
Second endoscopy report field of interest as a string vector
- Pathdataframe
pathology dataframe of interest
- PathColumn
Pathology report field of interest as a string vector
See also
Other Disease Specific Analysis - Barretts Data:
BarrettsBxQual()
,
BarrettsParisEMR()
,
Barretts_FUType()
,
Barretts_PathStage()
,
Barretts_PragueScore()
Examples
Barretts_df <- BarrettsAll(Myendo, "Findings", "OGDReportWhole", Mypath, "Histology")
#> Warning: There were 6 warnings in `mutate()`.
#> The first warning was:
#> ℹ In argument: `FU_Type = case_when(...)`.
#> Caused by warning:
#> ! NAs introduced by coercion
#> ℹ Run `dplyr::last_dplyr_warnings()` to see the 5 remaining warnings.