User Tools

Site Tools


tutorials:r_plots

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tutorials:r_plots [2026/09/11 16:18] chkuotutorials:r_plots [2026/09/16 17:48] (current) hychang
Line 2: Line 2:
  
 ===== Box plots ===== ===== Box plots =====
 +
 +An user guide to walk through data visualization by box plot in R.\\
 +Please download the tutorial and open with browser (like Chrome) for more detail.\\
 +
 +[[https://drive.google.com/file/d/1g4NGAsX2VFJZ0xZkNwlBMMadp4LyTPHY/view?usp=drive_link|R Markdown Document for Boxplots]]\\
 +
  
 ==== One batch with replicates ==== ==== One batch with replicates ====
 === Sample input === === Sample input ===
-  * sample1.xlsx+  * {{sample1.xlsx}}
  
 === R script === === R script ===
 +  * Please download the R script using the link below.
 +  * [[ https://drive.google.com/file/d/1AGVfmruh8ZEB9RTWmeKa-KBbS9-Zpp9x/view?usp=drive_link | single-batch_boxplot.R ]]\\
 +
 === Sample output === === Sample output ===
 +Plots can be exported as **PDF** or **PNG** files. Here shows the **PNG** files.\\
 + 
 +  * **Version 1**: Displays all data points using a single, uniform color.
 +    * PNG: setting width 600 and height 400.
 +    * {{ simple_boxplot1_w600h400.png }}
 +    * PDF: width 6 inch and height 4 inch. {{ simple_boxplot1_w6h4.pdf }}
 +  * **Version 2**: Colors data points by Strain and adds statistical significance group labels at the top.
 +    * PNG: setting width 600 and height 400.
 +    * {{ simple_boxplot2_w600h400.png }}
 +    * PDF: width 6 inch and height 4 inch. {{ simple_boxplot2_w6h4.pdf }}
 +\\
  
 ==== Multiple batches with replicates ==== ==== Multiple batches with replicates ====
 === Sample input === === Sample input ===
 +  * {{sample2.xlsx}}
 === R script === === R script ===
 +  * Please download the R script using the link below.
 +  * [[ https://drive.google.com/file/d/1XbvymKhrPuArYFD4bu3JaP2r2bGRtTas/view?usp=drive_link | mutiple-batches_boxplot.R ]]
 +
 === Sample output === === Sample output ===
 +Plots can be exported as **PDF** or **PNG** files. Here shows the **PNG** files.\\
 +
 +  * **Version 1**: Displays data with batches shown in distinct colors.
 +    * PNG: setting width 600 and height 400.
 +    * {{ mult_boxplot1_w600h400.png }}
 +    * PDF: width 6 inch and height 4 inch. {{ mult_boxplot1_w6h4.pdf }}
 +  * **Version 2**: Displays batches in distinct colors and adds statistical significance group labels at the top.
 +    * PNG: setting width 600 and height 400.
 +    * {{ mult_boxplot2_w600h400.png }}
 +    * PDF: width 6 inch and height 4 inch. {{ mult_boxplot2_w6h4.pdf }}
  
tutorials/r_plots.1789114692.txt.gz · Last modified: by chkuo