Skip to content

Evan's R Universe of Tools and Creativity

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

evanbio/evanverse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

352 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
evanverse logo

evanverse

A Modern R Toolkit for Data Science & Bioinformatics

CRAN R-CMD-check Codecov Lifecycle Downloads

๐Ÿ“š Documentation โ€ข ๐Ÿš€ Getting Started โ€ข ๐Ÿ’ฌ Issues โ€ข ๐Ÿค Contributing


Languages: English | ็ฎ€ไฝ“ไธญๆ–‡


โœจ Overview

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.

Why evanverse?

# ๐ŸŽฏ 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")

๐Ÿš€ Installation

Stable Release (CRAN)

install.packages("evanverse")

Development Version

# install.packages("devtools")
devtools::install_github("evanbio/evanverse")

Requirements: R โ‰ฅ 4.1.0


๐ŸŽฏ Core Features

๐Ÿ“ฆ Package Management

  • Multi-source installation (CRAN, GitHub, Bioconductor)
  • Version checking & updates
  • Package function exploration
  • Mirror configuration

๐ŸŽจ Visualization

  • Ready-to-use plotting functions
  • Bioinformatics color palettes
  • Venn diagrams, forest plots
  • Bar, pie, density plots

๐Ÿงฌ Bioinformatics

  • Gene ID conversion
  • GMT file handling
  • GEO data downloading
  • Reference data management

๐Ÿ”ง Data Processing

  • Flexible file I/O
  • Column mapping utilities
  • Void value handling
  • Data transformations

๐Ÿงฎ Custom Operators

  • %p% - String concatenation
  • %is% - Identity comparison
  • %nin% - Not in
  • %map%, %match% - Mapping tools

๐Ÿ“Š Statistical Analysis

  • t-test, ANOVA, chi-square, correlation
  • Power analysis & sample size calculation
  • Publication-ready visualizations
  • Automatic assumption checking

โš™๏ธ Workflow Tools

  • Timer wrappers
  • Safe execution
  • Reminder system
  • Interactive viewing

๐ŸŽฏ ggplot2 Integration

  • Custom color/fill scales
  • Seamless palette integration
  • Publication-quality theming

๐Ÿ’ก Quick Examples

String Operations

library(evanverse)

# Concatenate with %p%
first_name %p% " " %p% last_name

# Check if NOT in set
5 %nin% c(1, 2, 3, 4)  # TRUE

Color Palettes

# List available palettes
list_palettes()

# Get a palette
colors <- get_palette("celltype", n = 5)

# Preview palette
preview_palette("celltype")

File Operations

# Flexible table reading
data <- read_table_flex("data.csv")

# Directory tree visualization
file_tree(".", max_depth = 2)

Bioinformatics Workflows

# 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")

Package Management

# 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")

๐Ÿ“– Function Categories

๐Ÿ“ฆ Package Management (6 functions)
  • check_pkg() - Check if packages are installed
  • inst_pkg() - Install packages from multiple sources
  • update_pkg() - Update installed packages
  • pkg_version() - Get package version
  • pkg_functions() - List package functions
  • set_mirror() - Configure CRAN mirror
๐ŸŽจ Visualization & Plotting (5 functions)
  • plot_venn() - Venn diagrams
  • plot_forest() - Forest plots (with advanced customization)
  • plot_bar() - Bar charts
  • plot_pie() - Pie charts
  • plot_density() - Density plots
๐Ÿ“Š Statistical Analysis (6 functions)
  • quick_ttest() - Intelligent t-test with assumption checking
  • quick_anova() - One-way ANOVA with post-hoc tests
  • quick_chisq() - Chi-square test with visualization
  • quick_cor() - Correlation analysis with heatmap
  • stat_power() - Statistical power analysis
  • stat_samplesize() - Sample size calculation
๐ŸŽฏ ggplot2 Integration (3 functions)
  • scale_color_evanverse() - Color scale for ggplot2
  • scale_fill_evanverse() - Fill scale for ggplot2
  • scale_colour_evanverse() - Alias for British spelling
๐ŸŒˆ Color Palettes (9 functions)
  • get_palette() - Retrieve color palette
  • list_palettes() - List available palettes
  • create_palette() - Create custom palette
  • preview_palette() - Preview palette colors
  • bio_palette_gallery() - Browse bio palettes
  • compile_palettes() - Compile palette data
  • remove_palette() - Remove palette
  • hex2rgb() - Convert hex to RGB
  • rgb2hex() - Convert RGB to hex
๐Ÿ“ File & Data I/O (10 functions)
  • read_table_flex() - Flexible table reading
  • read_excel_flex() - Flexible Excel reading
  • write_xlsx_flex() - Flexible Excel writing
  • download_url() - Download from URL
  • download_batch() - Batch downloads
  • download_geo_data() - Download GEO datasets
  • file_info() - File information
  • file_tree() - Directory tree
  • get_ext() - Get file extension
  • view() - Interactive data viewer
๐Ÿงฌ Bioinformatics (4 functions)
  • convert_gene_id() - Gene ID conversion
  • download_gene_ref() - Download gene references
  • gmt2df() - GMT to data frame
  • gmt2list() - GMT to list
๐Ÿ”ง Data Processing (10 functions)
  • df2list() - Data frame to list
  • map_column() - Map column values
  • is_void() - Check for void values
  • any_void() - Any void values
  • drop_void() - Remove void values
  • replace_void() - Replace void values
  • cols_with_void() - Columns with voids
  • rows_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 operator
  • combine_logic() - Combine logical vectors
  • comb() - Combinations
  • perm() - Permutations
โš™๏ธ Workflow Tools (3 functions)
  • with_timer() - Execute with timing
  • remind() - Set reminders
  • safe_execute() - Safe function execution

๐Ÿ“š Documentation

Complete documentation with examples and vignettes:

๐Ÿ‘‰ https://evanbio.github.io/evanverse/


๐Ÿค Contributing

We welcome contributions! Please see our Contributing Guide for details.


๐Ÿ“œ License

MIT License ยฉ 2025-2026 Evan Zhou

See LICENSE.md for details.


๐Ÿ“Š Project Status

  • โœ… 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

โฌ† Back to Top

About

Evan's R Universe of Tools and Creativity

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages