View source: R/Basic_EndoPathExtractors.R
HistolNumbOfBx | R Documentation |
This extracts the number of biopsies taken from the pathology report. This is usually from the Macroscopic description column. It collects everything from the regex [0-9]1,2.0,3 to whatever the string boundary is (z).
HistolNumbOfBx(inputString, regString)
inputString |
The input text to process |
regString |
The keyword to remove and to stop at in the regex |
Other Histology specific cleaning functions:
HistolBxSize()
,
HistolTypeAndSite()
qq <- HistolNumbOfBx(Mypath$Macroscopicdescription, "specimen")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.