knitr::opts_chunk$set(results = 'asis', echo = FALSE, comment = FALSE,  warning = FALSE, message = FALSE, fig.align = 'center')
library(knitr)
library(here)
library(EndoMineR)
library(DiagrammeR)
library(CodeDepends)

R Markdown

This is an R Markdown presentation. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com.

When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document.

Import the data

load(file=here("data", "TheOGDReportFinal.rda"))
load(file=here("data", "PathDataFrameFinal.rda"))
read_chunk(here("inst","TemplateProject","munge", "PreProcessing.R"))

Pre-process both the pathology and the endoscopy text:


Merge endoscopy and pathology text


Clean the endoscopist and instrument columns


Extract number of biopsies, biopsy size, biopsy location and medications from the text


Extract endoscopy events


Extract some generic analyses


Extract some disease specific analyses


Show the Consort diagram


Show the CodeDepends




sebastiz/PhysiMineR documentation built on Oct. 3, 2023, 3:46 p.m.