Package index
-
SPAtest_analysis()
- Helper: function to run a binary analysis using SPAtest
-
brglm2_analysis()
- Helper: function to run a binary analysis using brglm2
-
chopr()
- Helper for truncating probabilities
-
`:=`()
- Export data.table infix operator for use within package
-
cooccurrence_analysis()
- Perform rapid unweighted or weighted cooccurrence analysis
-
create_formula()
- Helper: create formula for analysis
-
crossfit_lasso_weights()
- estimate crossfit lasso-based weights
-
data0()
- Prep data for obtaining predictions
-
.check_for_deps()
- Helper: Check for packages needed to use libri()
-
.check_library_loaded()
- Helper: Check to see if packages are loaded
-
.check_package_installed()
- Helper: Check to see if packages are installed
-
.correlation()
- Helper: perform rapid unweighted and weighted correlation
-
.onAttach()
- Print data.table with nice features
-
.partial_correlation()
- Helper: perform rapid (parallel) partial correlation calculations on a matrix
-
.quick_cooccur_mod()
- Helper: perform rapid unweighted and weighted cooccurrence analysis
-
.scale_manual()
- Helper: mean standardize a vector
-
.weighted_partial_correlation()
- Helper: perform rapid (parallel) weighted partial correlation calculations on a matrix
-
fcor()
- Perform rapid (parallel) unweighted and weighted (partial) correlations on a matrix
-
glm_analysis()
- Helper: function to run a binary analysis using glm
-
`%dopar%`
- Export foreach infix operator for use within package
-
icd10
- ICD10 code description
-
icd10cm
- ICD10CM code description
-
icd9cm
- ICD9CM code description
-
icd_desc()
- Quickly attach ICD-10 and ICD-9/ICD10-CM codes descriptions to a data.table
-
ipw()
- estimate inverse probability weights based on Beesley & Mukhherjee
-
libri()
- Check for, install, and load CRAN and GitHub R packages
-
logistf_analysis()
- Helper: function to run a binary analysis using logistf
-
map_phewas()
- function to map a binary analysis by vector of exposures using a method specified by the method argument
-
merge_list()
- Quickly merge across a list using dplyr-based merge functions
-
pbfor()
- For loop function with lapply syntax and pretty progress bar
-
phe_desc()
- Quickly attanch phecode descriptions to a data.table
-
phecodex_icd_map
- PhenomeX ICD10 (WHO) mapping
-
phecodex_icdcm_map
- PhenomeX ICD9/10CM mapping
-
phecodex_labels
- PhenomeX label information
-
phecodex_rollup
- PhenomeX phenome structure
-
phecodex_sex
- PhenomeX phecode-sex mappings
-
pheinfo
- PheWAS catalog information
-
pheinfox
- PheWAS catalog information
-
phewas_analysis()
- function to run a binary analysis using a method specified by the method argument
-
plot_phewasx()
- Plot PhecodeX PheWAS results
-
psw()
- estimate poststratification weights based on Beesley & Mukhherjee
-
scale_color_ms()
- Maxwell Salvatore's custom ggplot2 color palette
-
scale_fill_ms()
- Maxwell Salvatore's custom ggplot2 fill palette
-
standardize_variables()
- Rapidly standarize variables in a datasset
-
svyglm_analysis()
- Helper: function to run a binary analysis using survey::svyglm
-
theme_ms()
- Maxwell Salvatore's custom ggplot2 theme
-
tidy_forest()
- Conduct a tidy random forest analysis with hyperparameter tuning via tidymodels framework
-
weighted_analysis()
- Helper: function to run a weighted binary analysis using svyglm unless there's a separation concern, then run weighted logsitf