[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-670926-105":59,"doc-detail-670926-en":130},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","data-visualization-with-r-course-overview-ggplot2-lessons","Data Visualization with R - Course Overview - ggplot2 Lessons","","Course materials for “Data Visualization with R” introduce learners to creating publication-quality graphics using the ggplot2 package and core grammar-of-graphics concepts. The syllabus covers plot types, scatter plots, customization with geoms, scales, themes, facets, legends, and saving outputs via ggsave(). It also guides stat transformations for bar plots, box plots, and histograms, plus PCA workflows with iris and cluster visualization using heatmaps and dendrograms. It further explains building multi-figure panels with cowplot and patchwork and includes practice questions and resources.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/data-visualization-with-r-course-overview-ggplot2-lessons/670926/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/data-visualization-with-r-course-overview-ggplot2-lessons/670926.png","ImageObject",300,407,{"name":92,"@type":93},"Mimi","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-03","2026-11-01",true,{"@type":102,"interactionType":103,"userInteractionCount":14},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What skills does this course aim to build for data visualization in R?","Question",{"text":112,"@type":113},"The course builds proficiency in ggplot2 by teaching plot construction, customization with geoms and aesthetics, facets, legends, themes, and proper saving workflows. It also extends into stat-based plots, PCA visualization, and cluster heatmaps with dendrogram concepts.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"Which ggplot2 topics are covered in the early lessons?",{"text":117,"@type":113},"Early lessons cover getting started with ggplot2, the ggplot2 template, geom functions, mapping aesthetics with aes(), working with colors, facets (including facet_grid ideas), and creating multiple geoms per plot. The materials also include labeled plots, legends, scales, and themes.",{"name":119,"@type":110,"acceptedAnswer":120},"How does the course help learners create multi-figure panels?",{"text":121,"@type":113},"Lesson 6 explains combining plots using cowplot and patchwork, including arranging figures, plotting labels, using ggdraw, adding titles/spacers, and saving the final composed output.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},670926,1793572729,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":14,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144},2336477974920,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","Data Visualization with R  \nAlexandra L Emmons Ph. D. & Joe Wu Ph. D. [BTEP/GAU/CCR/NCI/NIH-email ncibtep@mail.nih.gov](BTEP/GAU/CCR/NCI/NIH-email ncibtep@mail.nih.gov)[ ](BTEP/GAU/CCR/NCI/NIH-email ncibtep@mail.nih.gov)Bioinformatics Training and Education Program  \nTable of Contents  \n\n| Course Overview |  |\n| --- | --- |\n| • Course Overview\u003Cbr>• Welcome to the Data Visualization with R Series\u003Cbr>• A series of lessons designed to introduce learners to the R package ggplot2\u003Cbr>• Course objectives\u003Cbr>• What this course is not!\u003Cbr>• Course Expectations\u003Cbr>• Lesson 1: Introduction to plot types\u003Cbr>• Lesson 2: Getting Started with ggplot2\u003Cbr>• Lesson 3: Scatter plots and Non-data elements of ggplot2 customization\u003Cbr>• Lesson 4: Visualizing summary statistics with ggplot2\u003Cbr>• Lesson 5: Visualizing clusters with heatmaps\u003Cbr>• Lesson 6: Combining multiple plots to create a ﬁgure panel\u003Cbr>• Required Course Materials\u003Cbr>Lesson 1: Course Introduction | 10 |\n|  | 10 |\n|  | 10 |\n|  | 10 |\n|  | 10 |\n|  | 10 |\n|  | 10 |\n|  | 11 |\n|  | 11 |\n|  | 11 |\n|  | 11 |\n|  | 11 |\n|  | 11 |\n| • Lesson 1: Course Introduction\u003Cbr>Lesson 2: The Basics of GGplot2 | 12 |\n| • Introduction to ggplot2 | 13 |\n\n• Objectives 13  \n\n| • Going beyond Excel | 13 |\n| --- | --- |\n| • Why ggplot2? | 16 |\n| • Getting started with ggplot2\u003Cbr>• Getting help\u003Cbr>• The ggplot2 template\u003Cbr>• Geom functions\u003Cbr>• Mapping and aesthetics (aes())\u003Cbr>• R objects can also store ﬁgures\u003Cbr>• Colors\u003Cbr>• Facets\u003Cbr>• A better example of facet_grid() using data(\"Titanic\") .\u003Cbr>• Building upon our template\u003Cbr>• Using multiple geoms per plot | 16 |\n|  | 17 |\n|  | 17 |\n|  | 20 |\n|  | 21 |\n|  | 24 |\n|  | 24 |\n|  | 30 |\n|  | 33 |\n|  | 34 |\n|  | 35 |\n| • Labels, legends, scales, and themes | 36 |\n| • Saving plots (ggsave()) | 37 |\n| • Resource list | 38 |\n| • Acknowledgements\u003Cbr>Lesson 3: Scatter plots and ggplot2 customization | 38 |\n\n•  Scatter plots and plot customization 39  \n• Objectives 39  \n• The Data 39  \n• The grammar of graphics 40  \n•  Scatter plots 41  \n• Basic Scatter 41  \n• Coordinate Systems 42  \n\n| •  Perform and plot PCA data using iris. 43\u003Cbr>• What is PCA? 43\u003Cbr>\u003Cbr>• Perform PCA 44\u003Cbr>\u003Cbr>• Plot PCA 45\u003Cbr>\u003Cbr>• Add custom axes labels 47\u003Cbr>\u003Cbr>• Add a stat to our plot with stat_ellipse() . 48\u003Cbr>• Plot customization 49 • Themes 49 • A helpful color trick 51 • Putting it all together 53 • Creating a publication ready volcano plot 53 • Changing axes scales 56 • Modifying legends 57 • Save to an . rds ﬁle 60 • References 61\u003Cbr>Lesson 4: Stat Transformations: Bar plots, box plots, and histograms |  |\n| --- | --- |\n| • Stat Transformations: Bar plots, box plots, and histograms\u003Cbr>• Our grammar of graphics template\u003Cbr>• Our grammar of graphics template\u003Cbr>• Libraries\u003Cbr>• The Data\u003Cbr>• Variable Types\u003Cbr>• The stat argument\u003Cbr>• Bar Plot\u003Cbr>• stat = count | 62 |\n|  | 62 |\n|  | 62 |\n|  | 63 |\n|  | 63 |\n|  | 64 |\n|  | 65 |\n|  | 66 |\n|  | 67 |\n\n• stat = identity 69  \n\n| •\u003Cbr>• | • Using factors | 71 |\n| --- | --- | --- |\n|  | • Adding error bars | 73 |\n|  | Histogram | 75 |\n|  | Box plot\u003Cbr>son5: Visualizing clusters with heatmap and dendrogram | 78 |\n| Les |  |  |\n| • Visualizing clusters with heatmaps 81\u003Cbr>• What is a heatmap? 81\u003Cbr>• Heatmap can be used to visualize the following 81 • What is a dendrogram? 81 • Applications of dendrograms 81 • Methods available to produce a heatmap in R 84 • Load the libraries 85 • Import data 85 • Heatmap of the top 20 genes from differential expression analysis 87 • Distance, clustering, and scaling 88 • Distance calculation 88\u003Cbr>• Cluster generation 88\u003Cbr>• Scaling 88\u003Cbr>• Working with color customization 92\u003Cbr>• Adding treatment group information to samples (annotation_col, annotation_colors) 93\u003Cbr>• Add the annotations column 94 |  |  |\n\n• Modify the annotations colors 95  \n• Splitting heatmap into multiple columns and rows 96  \n• Add a title to heatmap 98  \n• Saving a non-ggplot 100  \n\n| • Make this plot compatible with ggplot2 using the p","cbCaiebQXJTIUJ4G","https://ap.wps.com/l/cbCaiebQXJTIUJ4G","pdf",13112527,180,"English","# Course Overview\n## Welcome to the Data Visualization with R Series\n## Course objectives\n## What this course is not!\n## Course Expectations\n## Required Course Materials\n# Lesson 1: Course Introduction\n## Objectives\n## Going beyond Excel\n## Why ggplot2?\n## Getting started with ggplot2\n## Introduction to ggplot2\n# Lesson 2: The Basics of GGplot2\n## Going beyond Excel\n## Getting help\n## Geom functions\n## Mapping and aesthetics (aes())\n## Colors and facets\n## Saving plots (ggsave())\n# Lesson 3: Scatter plots and ggplot2 customization\n## The grammar of graphics\n## Coordinate Systems\n## PCA with iris (perform, plot, customize)\n# Lesson 4: Stat Transformations\n## Bar plots, box plots, and histograms\n## Stat arguments (count, identity)\n# Lesson 5: Visualizing clusters with heatmaps and dendrogram\n## Heatmaps and dendrograms\n## Distance, clustering, and scaling\n## Color customization and annotations\n# Lesson 6: Multi-figure panel\n## cowplot and ggdraw\n## patchwork and plot_layout()\n## Taking advantage of ggdraw\n# Practice Questions\n## Practice plotting using ggplot2: Lesson 2\n## Exercise Questions (Questions 1-6, challenges)","[{\"question\":\"What skills does this course aim to build for data visualization in R?\",\"answer\":\"The course builds proficiency in ggplot2 by teaching plot construction, customization with geoms and aesthetics, facets, legends, themes, and proper saving workflows. It also extends into stat-based plots, PCA visualization, and cluster heatmaps with dendrogram concepts.\"},{\"question\":\"Which ggplot2 topics are covered in the early lessons?\",\"answer\":\"Early lessons cover getting started with ggplot2, the ggplot2 template, geom functions, mapping aesthetics with aes(), working with colors, facets (including facet_grid ideas), and creating multiple geoms per plot. The materials also include labeled plots, legends, scales, and themes.\"},{\"question\":\"How does the course help learners create multi-figure panels?\",\"answer\":\"Lesson 6 explains combining plots using cowplot and patchwork, including arranging figures, plotting labels, using ggdraw, adding titles/spacers, and saving the final composed output.\"}]","Data Visualization with R - Course Overview - ggplot2 Lessons | PDF",454]