Man pages for TalhoukLab/biostatUtil
Utility Functions Used in Biostatistics Projects

addTableNumberAdd table number
assessSurvTimeAssess survival time
barplotSumAnnotated Barplot
best_cutFind the best cutpoint for a covariate
binaryCMConfusion matrix summaries
binaryCMAsHTMLConfusion matrix results in HTML
biostatUtilbiostatUtil: utility functions for biostatistical projects
bootMeanMean and bootstrap confidence interval
boxplotSumAnnotated Boxplot
build_cutsBuild cutpoint variables
censor_dateDate of censoring
chr_to_dateChange character to date
cleanDateClean dates
coxphOutNice output from Cox regression object
date_computeDate computations
date_extremesLatest and Earliest Dates
design_matrixDesign Matrix with interactions
diff_yearsDate difference in years
doBarplotBarplot with counts
doBoxplotAmongSubtypesDo a boxplot among subtypes
doCohortCharacteristicsGenerate cohort characteristics
doCoxphFit a Cox proportional hazards regression model
doHistDo histogram with median
doInteractionCoxDo interaction test with cox model likelihood ratio test only...
doJitterplotAmongSubtypesDo a jitterplot among subtypes
doKMPlotsMake Kaplan-Meier plots
escapeForGrepEscape string for regular expression
exploreDataGraphical Exploration of a Dataset
extract_resultsExtract results for executive summary
findCutpointByCoxphFind cutpoint by Cox model statistics
formatDateFormat a date.
formatNAMissing Value Formatting
freqTableGenerate a Frequency Table
geoMeanGeometric mean
getFormatGet date format from character text
getPvalGet the p-value
gg_diagnostic_prevDiagnostic Prevalence
ggkmKaplan-Meier Plots using ggplot
g_legendGenerate a legend
grhoTestsSummary of Survival Curve differences using G-rho tests
histSumSummary histogram
indepTestsTests for Independence in Contingency Tables
indexOfFind occurences of string within another string
isFirstLetterUpperCaseIs the first letter uppercase?
kappaBootCIBootstrapped confidence interval for kappa statistic.
knit_with_dateKnit R markdown report with today's date
lifetableGenerate lifetables for multiclass variables
logistfPrintPrint summaries from logistf
medianCtrMedian center rows
ms_conditionSample count condition for MS analyses
ms_plotPlots for MS analyses
ms_processProcess mass spectrometry data
ms_summarizeSummarize mass spectrometry data
ms_topTop variables in mass spectrometry analysis
multiClassCMConfusion matrix summaries
multiplotMultiple plots
name_cutsName cutpoint variables
numericToDateChange numeric to date
pairwiseCorPairwise Correlations
parse_rdParse all Rd files in package
PCAplotPlot Principal Components
percentsRow and Column Percentages
plotKMPlot Kaplan-Meier curves
plotKMDetailPlot detailed Kaplan-Meier curves
plotSchoenfeldDo Schoenfeld residual plot
prettyCoxphNicer outputs from coxph model fits
proProtein file from Mass Spectrometry experiment
psmPeptide-Spectrum Match (PSM) file from Mass Spectrometry...
R2_to_DConvert R2 to D
remove_dupRemove duplicates
round_smallRounding of Small Numbers
sample_size_propSample Size for Multiple Proportions in One-Way Design
sdFromCIStandard deviation of log hazard ratio
semStandard error of the mean
simpleCapSimple capitalization
ssize_DSample Size Calculation
statsWithMissingCalculates statistics with specifying missing values
summaryAsHTMLSummary table in HTML format
SummaryStatsByGenerate summary statistics
tableAsHTMLTable as HTML format
wrap_ggkmWrap list of 'ggkm' plots into a single patchwork
XunivcoxphUnivariate cox proprtional hazards model
TalhoukLab/biostatUtil documentation built on April 14, 2025, 4:15 a.m.