Skip to content

Ronlee12355/Road2R

Repository files navigation

Road2R

A curated list of amazingly awesome R libraries, resources and package collection.

'R logo'

Contributing Information

Please see author's details.
Collaboration and pull requests are always welcomed!

Workflow for Data Science

'workflow of data science'

Workflow of Text Mining

'workflow of text mining'

Workflow of R Package Development

'workflow of R package development'

Workflow of Typical Modeling Process

'workflow of modeling'

Table of Contents

Data manipulation

Packages that enable you to manipulate data

  • dplyr - a grammar of data manipulation.
  • tibble - efficient display structure for tabular data.
  • dbplyr - A 'dplyr' Back End for Databases.
  • plyr - the split-apply-combine paradigm for R.
  • tidyr - Easily Tidy Data with 'spread()' and 'gather()' Functions.
  • jsonlite - A Robust, High Performance JSON Parser and Generator for R.
  • stringr - Simple, Consistent Wrappers for Common String Operations.
  • stringi - Character String Processing Facilities.
  • data.table - Extension of "data.frame".
  • magrittr - A Forward-Pipe Operator for R.
  • reshape2 - Flexibly Reshape Data: A Reboot of the Reshape Package.
  • forcats - Tools for Working with Categorical Variables (Factors).
  • broom - Convert Statistical Analysis Objects into Tidy Data Frames.
  • Matrix - Sparse and Dense Matrix Classes and Methods.
  • lubridate - Make Dealing with Dates a Little Easier.
  • xts - tools for time series based data.
  • hashmap - The Faster Hash Map.
  • rlist - A Toolbox for Non-Tabular Data Manipulation.
  • yaml - Methods to Convert R Data to YAML and Back.
  • xml2 - Parse XML.
  • lobstr - lobstr provides tools in the same vein as str(), which allow you to dig into the detail of an object.
  • reticulate - Interface to 'Python'.
  • moderndive - An R package of datasets and wrapper functions for tidyverse-friendly introductory linear regression.

Visualization

Packages that enable you to plot

  • ggplot2 - Create Elegant Data Visualisations Using the Grammar of Graphics.
  • gganinate - A Grammar of Animated Graphics.
  • ggedit - Interactive 'ggplot2' Layer and Theme Aesthetic Editor.
  • ggfittext - Fit Text Inside a Box in 'ggplot2'.
  • ggforce - Accelerating 'ggplot2'.
  • gggenes - Draw Arrow Maps in 'ggplot2'.
  • ggnetwork - Geometrics to Plot Networks with ''ggplot2''.
  • ggmap - Spatial Visualization with ''ggplot2''.
  • ggpubr - ''ggplot2'' Based Publication Ready Plots.
  • ggrepel - Automatically Position Non-Overlapping Text Labels with 'ggplot2'.
  • ggridge - Ridgeline Plots in 'ggplot2'.
  • ggsci - Scientific Journal and Sci-Fi Themed Color palettes for 'ggplot2'.
  • ggsignif - Significance Brackets for 'ggplot2'.
  • ggthemes - Extra Themes, Scales and Geoms for 'ggplot2'.
  • ggvis - Interactive Grammar of Graphics.
  • cowplot - Streamlined Plot Theme and Plot Annotations for 'ggplot2'.
  • treemapify - Draw Treemaps in 'ggplot2'.
  • ggalluvial - Alluvial Diagrams in 'ggplot2'.
  • GGally - Extension to 'ggplot2'.
  • alluvial - Alluvial Diagrams.
  • corrplot - Visualization of a Correlation Matrix.
  • arulesViz - Visualizing Association Rules and Frequent Itemsets.
  • gplots - Various R Programming Tools for Plotting Data.
  • rpart.plot - Plot 'rpart' Models: An Enhanced Version of 'plot.rpart'.
  • survival - Survival Analysis.
  • pheatmap - Pretty Heatmap.
  • ROCR - Visualization the Performance of Scoring Classifiers.
  • pROC - Display and Analyze ROC Curves.
  • ggstance - Horizontal versions of common plots.
  • ggExtra - Marginal histograms for a plot.
  • patchwork - Simple to combine separate ggplots into the same graphic.

Import Data

Packages that enable you to import, load and save data

  • readr - Read Rectangular Text Data.
  • openxlsx - Read, Write and Edit XLSX Files
  • readxl - Read Excel Files.
  • clipr - Read and Write from the System Clipboard.
  • data.table - Extension of "data.frame".
  • feather - R Bindings to the Feather 'API'.
  • haven - Import and Export 'SPSS', 'Stata' and 'SAS' Files.
  • httr - Tools for Working with URLs and HTTP.
  • rvest - Easily Harvest (Scrape) Web Pages.
  • DBI - R Database Interface
  • RMySQL - MySQL driver for DBI
  • RPostgres - Postgres driver for DBI
  • RSQLite - SQlite driver for DBI
  • git2r - Provides Access to Git Repositories.
  • RCurl - General Network (HTTP/FTP/...) Client Interface for R.

Network graph

packages that enable you to visualize network

  • igraph - Network Analysis and Visualization.
  • ggnetwork - Geometrics to Plot Networks with ''ggplot2''.
  • network3D - D3 JavaScript Network Graphs from R.
  • network - Classes for Relational Data.
  • sna - Tools for Social Network Analysis.
  • snow - Simple Network of Workstations.
  • visNetwork - Network Visualization using 'vis.js' Library.

Interactive Graphics

packages that enable you to make interactive graphics

  • htmlwidgets - framework for creating JavaScript widgets with R.
  • networkD3 - Interative d3 network graphs.
  • d3heatmap - Interactive d3 heatmaps.
  • DT - Interactive tables.
  • REmap - Create html maps by Echarts.
  • echarts4r - EChart htmlwidget.
  • leaflet - Interactive maps.
  • plotly - Interactive plots.
  • Highcharter - Interactive Highcharts plots.
  • visNetwork - Interactive network graphs.

Word cloud

packages that enable you to draw word cloud

Text mining

packages that enable you to do text mining

  • tidytext - Text Mining using 'dplyr', 'ggplot2', and Other Tidy Tools.
  • widyr - Widen, Process, then Re-Tidy Data.
  • tm - Text Mining Package.
  • NLP - Natural Language Processing Infrastructure.
  • janeaustenr - Jane Austen's Complete Novels.

Machine learning

packages that enable you to deploy machine learning algorithms

  • caret - Classification and Regression Training.
  • xgboost - Extreme Gradient Boosting.
  • glmnet - Lasso and Elastic-Net Regularized Generalized Linear Models.
  • e1071 - Misc Functions of the Department of Statistics, ProbabilityTheory Group (Formerly: E1071), TU Wien.
  • arules - Mining Association Rules and Frequent Itemsets.
  • car - Companion to Applied Regression.
  • igraph - PageRank algotirhm.
  • kernlab - Kernel-Based Machine Learning Lab.
  • modelr - Modelling Functions that Work with the Pipe.
  • gbm - gradient boosted regression models.
  • nlme - Linear and Nonlinear Mixed Effects Models.
  • randomForest - Breiman and Cutler's Random Forests for Classification and Regression.
  • rpart - Recursive Partitioning and Regression Trees.
  • boot - Bootstrap Functions (Originally by Angelo Canty for S).
  • gbm - gradient boosted regression models.
  • nnet - Feed-Forward Neural Networks and Multinomial Log-Linear Models.
  • neuralnet - Training of Neural Networks.
  • h2o - parallel distributed machine learning algorithms.
  • mlr - Machine Learning in R.
  • ggpomological - Pomological Colors.
  • visdat - Preliminary Exploratory Visualisation of Data.
  • lares - R Package for Analytics and Machine Learning.
  • mlr3 - A clean, object-oriented rewrite of mlr.
  • mlrCPO - Composable Preprocessing Operators for MLR.

Time series

packages that enable you to play with time

  • xts - eXtensible Time Series.
  • forecast - Forecasting Functions for Time Series and Linear Models.
  • zoo - S3 Infrastructure for Regular and Irregular Time Series (Z's Ordered Observations).
  • tsfeatures - The R package tsfeatures provides methods for extracting various features from time series data.

Markdown

packages that enable you to write markdwon in R

  • rmarkdown - Dynamic Documents for R.
  • rsconnect - Deployment Interface for R Markdown Documents and Shiny Applications.
  • knit - A General-Purpose Package for Dynamic Report Generation in R.
  • tinytex - tinytex: Helper Functions to Install and Maintain TeX Live, and Compile LaTeX Documents.

Development in R

packages that enable you to develop your own project

Online blogs

Online blogs.

Learning materials

Online learning materials

Cheatsheet

Cheatsheets of Rstudio packages

Shiny

Shiny Applications Development Materials

Bioinformatics

Bioinformatics Tools Implemented in R

  • CMSclassifier - An R package and an example data set are provided to run the CMSclassifier.
  • CMScaller - an R package for consensus molecular subtyping of colorectal cancer pre-clinical models.
  • genefu - R package providing various functions relevant for gene expression analysis with emphasis on breast and ovarian cancers.
  • CancerSubtypes - Cancer subtypes identification, validation and visualization based on multiple genomic data sets.
  • consensusOV - Gene expression-based subtype classification for high-grade serous ovarian cancer.
  • ConsensusClusterPlus - ConsensusClusterPlus: a class discovery tool with confidence assessments and item tracking.
  • WGCNA - WGCNA: an R package for weighted correlation network analysis.
  • ImmuLncRNA - The R package 'ImmulancRNA' contains 3 method which can caculate the tumor purity, partial correlation coefficient and identify the lncRNA-pathway pairs.
  • randomForestSRC - R-package for random forest analysis of regression, classification, survival and more.
  • plsRcox - Partial Least Squares Regression for Cox Models and Related Techniques.
  • superpc - Supervised Principal Components.
  • CoxBoost - Cox models by likelihood based boosting for a single survival endpoint or competing risks.
  • survivalsvm - Survival Support Vector Analysis.
  • GSVA - Gene Set Variation Analysis for microarray and RNA-seq data.
  • isomiRseeker - Detect miRNA isoforms from small RNA-seq data.
  • TCGAbiolinks - TCGAbiolinks - An R/Bioconductor package for integrative analysis with TCGA data.
  • clusterProfiler - clusterProfiler: an R package for comparing biological themes among gene clusters.
  • glmnet - glmnet: Lasso and Elastic-Net Regularized Generalized Linear Models.
  • OmicCircos - an R application and package for generating high-quality circular plots for omics data.
  • maftools - maftools - An R package to summarize, analyze and visualize MAF files.
  • RTN - RTN: Reconstruction of Transcriptional regulatory Networks and analysis of regulons.
  • RedeR - Interactive visualization and manipulation of nested networks.
  • GCclassifier - GCclassifier: an R package for the prediction of molecular subtypes of gastric cancer.
  • immunedeconv - an R package for unified access to computational methods for estimating immune cell fractions from bulk RNA sequencing data.
  • NbClust - NbClust: An R Package for Determining the Relevant Number of Clusters in a Data Set.
  • BLCAsubtyping - Transcriptomic tools to classify bladder tumours according to six published molecular classifications.
  • consensusMIBC - This package implements a nearest-centroid transcriptomic classifier, that assigns class labels according to the consensus molecular classification of Muscle-Invasive Bladder Cancer (Manuscript submitted). The consensus classification identifies 6 molecular classes : Luminal Papillary (LumP), Luminal Non Specified (LumNS), Luminal Unstable (LumU), Stroma-rich, Basal/Squamous (Ba/Sq), Neuroendocrine-like (NE-like).
  • classifyNMIBC - This package implements a Pearson nearest-centroid classifier that assigns class labels to single samples according to the four transcriptomic UROMOL2021 classes of non-muscle-invasive bladder cancer (NMIBC): class 1, class 2a, class 2b and class 3.

Single-cell

Singl-cell RNA-seq & ATAC in R

  • Signac - Signac is a comprehensive R package for the analysis of single-cell chromatin data. Signac includes functions for quality control, normalization, dimension reduction, clustering, differential activity, and more.
  • Seurat - Seurat is an R toolkit for single cell genomics, developed and maintained by the Satija Lab at NYGC.

About

A curated list of amazingly awesome R libraries, resources and package collection.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published