tutorials:r_plots
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| tutorials:r_plots [2026/09/11 16:13] – created chkuo | tutorials: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:// | ||
| + | |||
| ==== One batch with replicates ==== | ==== One batch with replicates ==== | ||
| + | === Sample input === | ||
| + | * {{sample1.xlsx}} | ||
| + | |||
| + | === R script === | ||
| + | * Please download the R script using the link below. | ||
| + | * [[ https:// | ||
| + | |||
| + | === 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 === | ||
| + | * {{sample2.xlsx}} | ||
| + | === R script === | ||
| + | * Please download the R script using the link below. | ||
| + | * [[ https:// | ||
| + | |||
| + | === 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.1789114385.txt.gz · Last modified: by chkuo