smouksassi/ggplotwithyourdata

Name: ggplotwithyourdata

Description: R Shiny app as an inteface to ggplot2

Created: 2016-09-26 13:14:31.0

Updated: 2018-01-18 02:47:49.0

Pushed: 2018-01-10 15:22:15.0

Homepage: null

Size: 7557

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

ggplotwithyourdata

R Shiny app as a handy inteface to ggplot2. It enables you to quickly explore your data to detect trends on the fly. You can do scatter plots, dotplots, boxplots, barplots, histograms and densities. For a quick overview head to this Youtube Tutorial .

Export Plots and Plot Code tabs contributed by Dean Attali. Once a plot is saved in the X/Y Plot tab by providing a name and hitting the Save plot star button it will become available for exporting. You can export in portrait, landscape and multiple plots per page.
Plot Code will let you look at the source code that generated the plot with the various options.

Quick summary statistics tables using Benjamin Rich table1 package.

CSV Data Input
Data Manipulations
Summary/Regression functions
ggplot2 built-in functionality

*facet_grid and facet_wrap

Running Information

Make sure to have all required packages installed shiny, shinyjs, ggplot2, ggrepel, scales, DT, tidyr, dplyr, Hmisc, quantreg, markdown, ggkm, colourpicker and table1. The app will try to install ggkm and table1 (if not found) using the commands below:

all.packages(c("shiny","shinyjs","ggplot2","scales","DT","tidyr","dplyr","Hmisc","quantreg","markdown","colourpicker","devtools"))
ools::install_github("sachsmc/ggkm")
ools::install_github("benjaminrich/table1")

Make sure that you are using the this version of ggrepel 0.70 or later.

ools::install_github("slowkow/ggrepel")

The main app contains several testing apps the main app can be run using this command:

y::runGitHub('ggplotwithyourdata', 'smouksassi', subdir = 'shinyapp')

Try to reproduce the steps below using the included sample_df.csv.

Example 1

Example use case 1 with the included sample_df.csv.

Example 2

Example use case 2 with the included sample_df.csv.

Example 3

Example use case 3 with the included sample_df.csv.

Example 4

Example use case 4 with the included sample_df.csv.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.