Skip to contents

📦 Package Management

Functions for installing, checking, and managing R packages from multiple sources (CRAN, GitHub, Bioconductor). Essential tools for reproducible analysis environments.

check_pkg()
check_pkg(): Check if packages are installed and optionally install them
inst_pkg()
Install R Packages from Multiple Sources
update_pkg()
Update R Packages from CRAN, GitHub, or Bioconductor
pkg_version()
pkg_version: Check Installed and Latest Versions of R Packages
pkg_functions()
pkg_functions: List exported functions from a package
set_mirror()
Set CRAN/Bioconductor Mirrors

📊 Visualization & Plotting

High-level plotting functions with sensible defaults for common chart types and publication-ready visualizations. Create professional plots with minimal code.

plot_venn()
Draw Venn Diagrams (2-4 sets, classic or gradient style)
plot_forest()
Draw a forest plot using forestploter with publication-quality styling
plot_bar()
Bar plot with optional fill grouping, sorting, and directional layout
plot_pie()
Plot a Clean Pie Chart with Optional Inner Labels
plot_density()
plot_density: Univariate Density Plot (Fill Group, Black Outline)

🎨 Color Palettes & Management

Bioinformatics-focused color palette system with creation, management, and visualization tools. Build consistent, accessible color schemes for your projects.

get_palette()
Get Palette: Load Color Palette from RDS
list_palettes()
list_palettes(): List All Color Palettes from RDS
create_palette()
create_palette(): Save Custom Color Palettes as JSON
preview_palette()
Preview Palette: Visualize a Palette from RDS
bio_palette_gallery()
bio_palette_gallery(): Visualize All Palettes in a Gallery View
compile_palettes()
compile_palettes(): Compile JSON palettes into RDS
remove_palette()
Remove a Saved Palette JSON
hex2rgb()
Convert HEX color(s) to RGB numeric components
rgb2hex()
Convert RGB values to HEX color codes

💾 File & Data I/O

Flexible file reading/writing functions with enhanced error handling, progress reporting, and format detection. Handle various data formats with robust error recovery.

read_table_flex()
Flexible and fast table reader using data.table::fread
read_excel_flex()
Flexible Excel reader
write_xlsx_flex()
Flexible Excel writer
download_url()
download_url(): Download File from URL
download_batch()
download_batch(): Batch download files using multi_download (parallel with curl)
download_geo_data()
Download GEO Data Resources
file_info()
file_info: Summarise file information
file_tree()
file_tree: Print and Log Directory Tree Structure
get_ext()
get_ext: Extract File Extension(s)
view()
Quick interactive table viewer (reactable)

🧬 Bioinformatics Utilities

Specialized functions for bioinformatics workflows including gene ID conversion and gene set analysis. Essential tools for genomic data processing and analysis.

convert_gene_id()
convert_gene_id(): Convert gene identifiers using a reference table
download_gene_ref()
Download gene annotation reference table from Ensembl
gmt2df()
gmt2df: Convert GMT File to Long-format Data Frame
gmt2list()
gmt2list: Convert GMT File to Named List

🔄 Data Processing & Transformation

Functions for data manipulation, column mapping, and handling missing or void values. Clean and transform data with comprehensive void value handling.

df2list()
Convert Data Frame to Named List by Grouping
map_column()
map_column(): Map values in a column using named vector or list
is_void()
is_void(): Check for Null / NA / Blank ("") Values
any_void()
any_void(): Check if Any Value is Void (NA / NULL / "")
drop_void()
drop_void: Remove Void Values from a Vector or List
replace_void()
Replace void values (NA / NULL / "")
cols_with_void()
cols_with_void(): Detect Columns Containing Void Values
rows_with_void()
rows_with_void: Detect rows containing void values (NA / NULL / "")

⚡ Operators & Logic

Custom infix operators and logical utility functions for expressive and readable code. Enhance R syntax with powerful shortcuts and combinatorial tools.

`%p%`
%p%: paste two strings with a single space
`%is%`
Strict identity comparison with diagnostics
`%nin%`
%nin%: Not-in operator (negation of %in%)
`%map%`
%map%: Case-insensitive mapping returning named vector
`%match%`
%match%: Case-insensitive match returning indices
combine_logic()
combine_logic: Combine multiple logical vectors with a logical operator
comb()
comb: Calculate Number of Combinations C(n, k)
perm()
Calculate Number of Permutations A(n, k)

🛠️ Workflow & Development Tools

Helper functions for development workflow, timing, and safe code execution. Streamline your development process with productivity-enhancing utilities.

with_timer()
Wrap a function to measure and display execution time
remind()
Show usage tips for common R commands
safe_execute()
Safely Execute an Expression

📊 Example Datasets

Sample datasets included with evanverse for testing and demonstration purposes. Useful for learning functions and exploring package capabilities.

df_forest_test
Test Dataset for Forest Plots
trial
Clinical Trial Dataset