- Philosophy behind these instructional materials
- Why R?
- Introduction to R
- Getting settled in RStudio
- Setting up a project
- Determine when a scatter plot is an appropriate data visualization tool
- Manipulate plotting symbols and colors to plot metadata
- Adapt existing code to achieve a goal
- Install R packages and libraries
- Axis labels
- Getting help
- Data frames
- Input from and output to files
- Exploring data frames
- Clean up data frames
- Adding and modifying columns in a data frame
- Bar plots
- Merging data frames
- Selecting columns from data frames
- Selecting rows from data frames
- Connecting steps in data processing with pipes
- Boolean operations
- Aggregating and summarizing data by a categorical variable
- Adding columns to data frames
- Sorting data frames
- If/else statements
- Creating customized functions
- The importance of keeping code DRY
- Problems with bar plots to represent mean/median values
- Strip charts
- Box plots
- Violin plots
- Factors
- Scripting analysis
- Making data "tidy"
- Generating line plots
- Rarefaction curves
- Adding lines to annotate plots
- Working with text
- More complex aggregation approach
- Transforming data to make them normally distributed
- Extracting columns from a data frame
- Parsing output from complex variables
- Formula notation
- Simple statistical tests
- Overlaying models on scatter plots
- Complex string manipulations
- Regular expressions
- Representing taxonomic data
- Developing multistep workflow to answer a problem
- Customizing axes
- Build in project organization from the beginning
- Incorporate comments to code
- Pull out as
bookdown
book
- Faceting
- Multiple panels
- Themes
- Rmarkdown
- kable
- xtable
- citations
- paste / format / round
- Putting it together: Machine learning
- Putting it together:
-
Base R stuff
- read.xxxx / write.xxxx
- plotting options
-
Non-tabular data
- Lists
- HTML/XML
- JSON
-
Other plot types
- Heat maps
- Network
- Trees
- rgl
- googleViz
- Polygons ~ back to back plot?
- Drawing - making a mouse model
- Text annotation of figures
-
Putting it together
- Simulations in R
- rentrez - Pulling down web data
- Cleveland dot plots
- Bi-plots
- Simulations in R
-
Unit tests
-
Shiny app
-
Building a package