Package: EndoMineR 2.0.1.9000

Sebastian Zeki

EndoMineR: Functions to mine endoscopic and associated pathology datasets

This script comprises the functions that are used to clean up endoscopic reports and pathology reports as well as many of the scripts used for analysis. The scripts assume the endoscopy and histopathology data set is merged already but it can also be used of course with the unmerged datasets.

Authors:Sebastian Zeki [aut, cre]

EndoMineR_2.0.1.9000.tar.gz
EndoMineR_2.0.1.9000.zip(r-4.5)EndoMineR_2.0.1.9000.zip(r-4.4)EndoMineR_2.0.1.9000.zip(r-4.3)
EndoMineR_2.0.1.9000.tgz(r-4.4-any)EndoMineR_2.0.1.9000.tgz(r-4.3-any)
EndoMineR_2.0.1.9000.tar.gz(r-4.5-noble)EndoMineR_2.0.1.9000.tar.gz(r-4.4-noble)
EndoMineR_2.0.1.9000.tgz(r-4.4-emscripten)EndoMineR_2.0.1.9000.tgz(r-4.3-emscripten)
|EndoMineR.html
EndoMineR/json (API)
NEWS

# Install 'EndoMineR' in R:
install.packages('EndoMineR', repos = c('https://packages.ropensci.org', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/ropensci/endominer/issues

Datasets:

On CRAN:

endoscopygastroenterologypeer-reviewedsemi-structured-datatext-mining

55 exports 13 stars 5.47 score 133 dependencies 30 scripts

Last updated 1 months agofrom:2b3603a276 (on master). Checks:ERROR: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesFAILOct 02 2024
R-4.5-winNOTEOct 02 2024
R-4.5-linuxNOTEOct 02 2024
R-4.4-winNOTEOct 02 2024
R-4.4-macNOTEOct 02 2024
R-4.3-winNOTEOct 02 2024
R-4.3-macNOTEOct 02 2024

Exports:Barretts_FUTypeBarretts_PathStageBarretts_PragueScoreBarrettsAllBarrettsBxQualBarrettsParisEMRBiopsyIndexCategoricalByEndoscopistColumnCleanUpdev_ExtrapolateOPCS4PrepDictionaryInPlaceReplaceEndoBasicGraphEndomerge2EndoPasteEndoscEndoscopistEndoscInstrumentEndoscMedsEndoscopyEventEntityPairs_OneSentenceEntityPairs_TwoSentenceEosinophilicsEventListExtractorExtrapolatefromDictionaryGISymptomsListGRS_Type_Assess_By_UnitHistolBxSizeHistolNumbOfBxHistolTypeHistolTypeAndSiteHowManyOverTimeIBD_ScoresListLookupLocationListLocationListLowerLocationListUniversalLocationListUpperMetricByEndoscopistMyImgLibraryNegativeRemoveNegativeRemoveWrapperPatientFlow_CircosPlotsPatientFlowIndividualRFACathsanityscale_colour_Publicationscale_fill_PublicationSurveilFirstTestSurveilLastTestSurveilTimeByRowSurveySankeytextPreptheme_PublicationTimeToStatusWordsToNumbers

Dependencies:askpassbackportsbase64encBHbitbit64blobbroombslibcachemcallrcellrangercheckmateclicliprclustercolorspaceconflictedcpp11crayoncurldata.tableDBIdbplyrDiagrammeRdigestdplyrdtplyrevaluatefansifarverfastmapfontawesomeforcatsforeignFormulafsfuzzyjoingarglegenericsgeosphereggplot2ggthemesgluegoogledrivegooglesheets4gridExtragtablehavenherehighrHmischmshtmlTablehtmltoolshtmlwidgetshttridsigraphisobandjquerylibjsonliteknitrlabelinglatticelifecyclelubridatemagrittrMASSMatrixmemoisemgcvmimemodelrmunsellnlmeNLPnnetopensslpanderpillarpkgconfigprettyunitsprocessxprogresspspurrrR6raggrappdirsRColorBrewerRcppreadrreadxlrematchrematch2reprexrlangrmarkdownrpartrprojrootrstudioapirvestsassscalesselectrslamspstringdiststringistringrsyssystemfontstextshapingtibbletidyrtidyselecttidyversetimechangetinytextmtzdbutf8uuidvctrsviridisviridisLitevisNetworkvroomwithrxfunxml2yaml

Analysis

Rendered fromAnalysis.Rmdusingknitr::rmarkdownon Oct 02 2024.

Last update: 2019-10-03
Started: 2017-12-22

Barrett's Oesophagus

Rendered fromBarretts.Rmdusingknitr::rmarkdownon Oct 02 2024.

Last update: 2019-10-03
Started: 2017-12-22

Data

Rendered fromData.Rmdusingknitr::rmarkdownon Oct 02 2024.

Last update: 2019-10-03
Started: 2018-03-01

EndoMineR

Rendered fromEndoMineR.Rmdusingknitr::rmarkdownon Oct 02 2024.

Last update: 2021-01-30
Started: 2017-09-08

Polyps

Rendered fromPolyps.Rmdusingknitr::rmarkdownon Oct 02 2024.

Last update: 2019-10-03
Started: 2019-04-26

Readme and manuals

Help Manual

Help pageTopics
Determine the Follow up groupBarretts_FUType
Get the worst pathological stage for Barrett'sBarretts_PathStage
Extract the Prague scoreBarretts_PragueScore
Run all the basic Barrett's functionsBarrettsAll
Get the number of Barrett's biopsies takenBarrettsBxQual
Run the Paris classification versus worst histopath grade for Barrett'sBarrettsParisEMR
Index biopsy locationsBiopsyIndex
Group anything by Endoscopist and returns the tableCategoricalByEndoscopist
Fake Lower GI Endoscopy SetColonFinal
Tidy up messy columnsColumnCleanUp
OPCS-4 Codingdev_ExtrapolateOPCS4Prep
Dictionary In Place ReplaceDictionaryInPlaceReplace
Basic graph creation using the template specified in theme_Publication.EndoBasicGraph
Merge endoscopy and histology data.Endomerge2
EndoMineR: A package for analysis of endoscopic and related pathologyEndoMineR
Paste endoscopy and histology results into oneEndoPaste
Clean endoscopist columnEndoscEndoscopist
Clean instrument columnEndoscInstrument
Clean medication columnEndoscMeds
Extract the endoscopic event.EndoscopyEvent
See if words from two lists co-exist within a sentenceEntityPairs_OneSentence
Look for relationships between site and eventEntityPairs_TwoSentence
Extract the Prague scoreEosinophilics
Use list of endoscopic events and proceduresEventList
Extract columns from the raw textExtractor
Extrapolate from DictionaryExtrapolatefromDictionary
Index of GI symptomsGISymptomsList
Create GRS metrics by endoscopist (X-ref with pathology)GRS_Type_Assess_By_Unit
Determine the largest biopsy size from the histology reportHistolBxSize
Extract the number of biopsies taken from the histology reportHistolNumbOfBx
Use list of pathology typesHistolType
Extract the site a specimen was removed from as well as the typeHistolTypeAndSite
Number of tests done per month and year by indicationHowManyOverTime
Cleans medication column if presentIBD_Scores
Extract from report, using words from a listListLookup
Use list of upper and lower GI standard locationsLocationList
Use list of standard locations for lower GI endoscopyLocationListLower
Use list of standard locations for upper GI endoscopyLocationListUniversal
Use list of standard locations for upper GI endoscopyLocationListUpper
Plot a metric by endoscopistMetricByEndoscopist
Fake EndoscopiesMyendo
Clean html endoscopic imagesMyImgLibrary
Fake Pathology reportMypath
Remove negative and normal sentencesNegativeRemove
Wrapper for Negative RemoveNegativeRemoveWrapper
Fake Upper GI Pathology SetPathDataFrameFinal
Fake Lower GI Pathology SetPathDataFrameFinalColon
Create a Circos plot for patient flowPatientFlow_CircosPlots
Create a plot over time of patient categorical findings as a line chartPatientFlowIndividual
Use list of catheters used in radiofrequency ablationRFACath
Create a basic consort diagram from dataframessanity
Set the colour theme for all the ggplotsscale_colour_Publication
Set the fills for all the ggplotsscale_fill_Publication
Find and ReplacespellCheck
Extracts the first test only per patientSurveilFirstTest
Extract the last test done by a patient onlySurveilLastTest
Extract the time difference between each test in daysSurveilTimeByRow
Create a Sankey plot for patient flowSurveySankey
Combine all the text cleaning and extraction functions into onetextPrep
Set the publication theme for all the ggplotstheme_Publication
Fake Upper GI Endoscopy SetTheOGDReportFinal
Extract the time to an eventTimeToStatus
Fake Lower GI Endoscopy Set including PathologyvColon
Convetr words to numbers especially for the histopathology textWordsToNumbers