๐ Documentation โข ๐ Getting Started โข ๐ฌ Issues โข ๐ค Contributing
Languages: English | ็ฎไฝไธญๆ
evanverse is a comprehensive utility package designed to streamline your R workflows. Built by Evan Zhou, it combines 60+ carefully crafted functions for data analysis, visualization, statistical testing, and bioinformatics into a single, coherent toolkit.
# ๐ฏ Intuitive operators
"Hello" %p% "World" # โ "Hello World"
# ๐จ Beautiful visualizations
plot_venn(list(A = 1:5, B = 3:8)) # Instant Venn diagrams
# ๐ฆ Smart package management
inst_pkg("dplyr", source = "CRAN") # Multi-source installation
# ๐งฌ Bioinformatics made easy
convert_gene_id(genes, from = "SYMBOL", to = "ENSEMBL")install.packages("evanverse")# install.packages("devtools")
devtools::install_github("evanbio/evanverse")Requirements: R โฅ 4.1.0
|
|
|
|
|
|
|
|
library(evanverse)
# Concatenate with %p%
first_name %p% " " %p% last_name
# Check if NOT in set
5 %nin% c(1, 2, 3, 4) # TRUE# List available palettes
list_palettes()
# Get a palette
colors <- get_palette("celltype", n = 5)
# Preview palette
preview_palette("celltype")# Flexible table reading
data <- read_table_flex("data.csv")
# Directory tree visualization
file_tree(".", max_depth = 2)# Convert gene IDs
genes <- c("TP53", "BRCA1", "EGFR")
ensembl_ids <- convert_gene_id(genes, from = "SYMBOL", to = "ENSEMBL")
# Parse GMT files
pathways <- gmt2list("pathway.gmt")# Install from multiple sources
inst_pkg(c("dplyr", "ggplot2"), source = "CRAN")
inst_pkg("limma", source = "Bioconductor")
inst_pkg("user/repo", source = "GitHub")
# Check versions
pkg_version("evanverse")๐ฆ Package Management (6 functions)
check_pkg()- Check if packages are installedinst_pkg()- Install packages from multiple sourcesupdate_pkg()- Update installed packagespkg_version()- Get package versionpkg_functions()- List package functionsset_mirror()- Configure CRAN mirror
๐จ Visualization & Plotting (5 functions)
plot_venn()- Venn diagramsplot_forest()- Forest plots (with advanced customization)plot_bar()- Bar chartsplot_pie()- Pie chartsplot_density()- Density plots
๐ Statistical Analysis (6 functions)
quick_ttest()- Intelligent t-test with assumption checkingquick_anova()- One-way ANOVA with post-hoc testsquick_chisq()- Chi-square test with visualizationquick_cor()- Correlation analysis with heatmapstat_power()- Statistical power analysisstat_samplesize()- Sample size calculation
๐ฏ ggplot2 Integration (3 functions)
scale_color_evanverse()- Color scale for ggplot2scale_fill_evanverse()- Fill scale for ggplot2scale_colour_evanverse()- Alias for British spelling
๐ Color Palettes (9 functions)
get_palette()- Retrieve color palettelist_palettes()- List available palettescreate_palette()- Create custom palettepreview_palette()- Preview palette colorsbio_palette_gallery()- Browse bio palettescompile_palettes()- Compile palette dataremove_palette()- Remove palettehex2rgb()- Convert hex to RGBrgb2hex()- Convert RGB to hex
๐ File & Data I/O (10 functions)
read_table_flex()- Flexible table readingread_excel_flex()- Flexible Excel readingwrite_xlsx_flex()- Flexible Excel writingdownload_url()- Download from URLdownload_batch()- Batch downloadsdownload_geo_data()- Download GEO datasetsfile_info()- File informationfile_tree()- Directory treeget_ext()- Get file extensionview()- Interactive data viewer
๐งฌ Bioinformatics (4 functions)
convert_gene_id()- Gene ID conversiondownload_gene_ref()- Download gene referencesgmt2df()- GMT to data framegmt2list()- GMT to list
๐ง Data Processing (10 functions)
df2list()- Data frame to listmap_column()- Map column valuesis_void()- Check for void valuesany_void()- Any void valuesdrop_void()- Remove void valuesreplace_void()- Replace void valuescols_with_void()- Columns with voidsrows_with_void()- Rows with voids
๐งฎ Operators & Logic (8 functions)
%p%- String concatenation operator%is%- Identity comparison%nin%- Not in operator%map%- Mapping operator%match%- Match operatorcombine_logic()- Combine logical vectorscomb()- Combinationsperm()- Permutations
โ๏ธ Workflow Tools (3 functions)
with_timer()- Execute with timingremind()- Set reminderssafe_execute()- Safe function execution
Complete documentation with examples and vignettes:
๐ https://evanbio.github.io/evanverse/
We welcome contributions! Please see our Contributing Guide for details.
- ๐ Report bugs
- ๐ก Request features
- ๐ Improve docs
- โ Ask questions
MIT License ยฉ 2025-2026 Evan Zhou
See LICENSE.md for details.
- โ CRAN Published - Version 0.4.0
- โ Stable Lifecycle - Production ready
- โ Full Test Coverage - Comprehensive test suite
- โ Active Maintenance - Regular updates
Made with โค๏ธ by Evan Zhou