The largest database of trusted experimental protocols

Ggplot2

Manufactured by Posit
Sourced in United States

Ggplot2 is a data visualization package for the R programming language. It provides a powerful and flexible system for creating high-quality plots. Ggplot2 is based on the grammar of graphics, which allows for the construction of complex plots by combining various plot components.

Automatically generated - may contain errors

27 protocols using ggplot2

1

Differential Gene Expression Analysis

Check if the same lab product or an alternative is used in the 5 most similar protocols
Differentially expressed genes of four tissues were filtered by the same criteria, which were 1.5-fold expression difference and p-value < 0.05. Volcano plot and heatmap were constructed by ggplot2 (v3.3.5, RStudio) and pheatmap (v1.0.12, RStudio), separately. Venn diagram was plotted by VennDiagram (v1.7.0, RStudio). Differentially expressed genes were further analyzed by Gene Ontology (GO) in terms of molecular function, cellular component, and biological process.
+ Open protocol
+ Expand
2

Gut Microbiota Composition Analysis

Check if the same lab product or an alternative is used in the 5 most similar protocols
Statistical analysis was conducted and graphics were generated using RStudio (v.4.0.3) and R studio (v.1.1.463), ggplot2 (v. 3.3.2), and vegan (v.2.5-6) packages (GNU Affero General Public License, San Francisco, CA, USA). Demographic and baseline characteristics were calculated using descriptive statistics for the total sample population and each group. In addition, Pearson chi-square analysis for categorical data and independent t-tests or Mann–Whitney tests for numerical data were used to assess the homogeneity of baseline characteristics between groups, depending on the fulfillment of the normal distribution assumption. Independent t-tests and Wilcoxon tests were used to analyze the experimental parameters during the intervention depending on the distribution assumption. The Wilcoxon rank sum test was used for comparison between groups, whereas permutational multivariate analysis of variance (PERMANOVA) was used to evaluate the gut microbiota composition at the OTU and genus level. In addition, non-metric multidimensional scaling (NMDS) based on Bray–Curtis dissimilarity was also used to visualize the difference between groups.
+ Open protocol
+ Expand
3

Comprehensive Statistical and Visualizaton Workflows

Check if the same lab product or an alternative is used in the 5 most similar protocols
Statistical and data analyses were performed using GraphPad Prism 8.4.3, R 4.0.4, and R Studio 1.4.1103. Graphs were generated in both Prism and R Studio, some of these were adjusted for better visualization using the software Adobe Illustrator (23.0.1).
Scatter plots in Figures 13 and box plots in Figure 3 were visualized with ggplot2 (v3.3.3) in R Studio. Statistical differences for boxplot in Figure 3B were calculated by Mann-Whitney test. Statistical significance was defined as * p < 0.05.
The heatmap in Figure 1 was generated using the function “geom_tile” in R studio to represent the enrichment profile for each sample. Previously, all data were normalized to z-score where each variable was mean-centered and then divided by the standard deviation of the variable.
Heatmaps in Figures 25 were generated using the package GGally (v 2.1.1) in R studio to represent the correlation between all variables analyzed.
+ Open protocol
+ Expand
4

Metabolic Pathway Visualization in C. canadensis

Check if the same lab product or an alternative is used in the 5 most similar protocols
To facilitate model curation and analyzing pathways, Escher was used for visualizing the fluxes in the model's metabolic pathways. Escher enables the building of metabolic pathways using reactions, metabolites, and genes by contextualizing them in the organism's metabolism (King et al., 2015 (link)). The Escher Python package v1.7.1 (King et al., 2015 (link)) was also used to draw customized metabolic maps of C. canadensis 85B in Jupyter notebooks as it is compliant with COBRApy. Graphs for carbon source predictions were plotted with ggplot2 (Wickham, 2009 (link)) in R studio version 4.1.1 (RStudio Team, 2015 ).
+ Open protocol
+ Expand
5

GO Enrichment Analysis of Differentially Expressed Genes

Check if the same lab product or an alternative is used in the 5 most similar protocols
For GO enrichment analysis on the biological processes domain, the hypergeometric test in the GOstats package (version 2.56.0) was applied. The analysis was restricted to gene sets containing 5–1,000 genes. Significant pathways were filtered by applying P value <0.05 and gene count/term >10. Further selection of relevant GO terms was based on sorting terms on their OddsRatios (the ratio of a GO term in the differently expressed genes list to the occurrence of this GO term in a universal gene list, obtained from org.Mm.eg.db [version 3.13.0]). In addition, GO term results were screened for enrichment of terms related to immune regulation. Selected top pathways were visualized using ggplot2 (version 3.3.5).
A web application for data searching and visualization was generated using the shiny package of Rstudio (https://shiny.rstudio.com), and the package ShinyCell for database creation (Ouyang et al., 2021 (link)).
+ Open protocol
+ Expand
6

Statistical Analysis of Experimental Data

Check if the same lab product or an alternative is used in the 5 most similar protocols
Randomization tests were performed using the online tool PlotsOfDifferences (https://huygens.science.uva.nl/PlotsOfDifferences/) (Goedhart, 2019 (link)). Dot plots were generated using PlotsOfData (Postma and Goedhart, 2019 (link)). SuperPlots were generated using SuperPlotsofData (Lord et al., 2020 (link); Goedhart, 2021 (link)). Bar plots with visualized data points, time-series data, and density plots were generated using R (https://www.r-project.org/), Rstudio (Integrated Development for R. RStudio, Inc., Boston, MA. https://www.rstudio.com/) and ggplot2 (Wickham, 2016 ). The univariate Kolmogorov-Smirnov test was performed using Rstudio. Other statistical analyses were performed using Google sheets except for the one-sample t test which was performed using an online calculator (https://www.socscistatistics.com/tests/tsinglesample/default.aspx).
+ Open protocol
+ Expand
7

Quantitative Skeletal Muscle Analysis

Check if the same lab product or an alternative is used in the 5 most similar protocols
A minimum of three independent experiments (or animals) was used for all assays. Statistical analysis was carried out using Graphpad Prism software. Multiple data points were collected per mouse to generate the population mean and represent it as raincloud plots using ggplot2 in R-studio. These values were used to compare between control and mutant mice. Unpaired, two tailed Student’s t tests were used to calculate statistical significances, shown as p values, means and SD are shown. Plots were generated using Graphpad Prism and comparison was done at each fibre range.
+ Open protocol
+ Expand
8

Optimizing Inflorescence Yield and Cannabinoids

Check if the same lab product or an alternative is used in the 5 most similar protocols
RStudio software (RStudio Team, 2020 ) was used for data analysis. Normality and homoscedasticity of the data were assessed, and the data met these assumptions. The RStudio package “rsm” (Lenth, 2009 ) was used to analyse inflorescence yield and to generate three-dimensional and contour plots to represent the response surface. To improve the precision of yield estimates, the average yield of the five replicates in each treatment was used. Two sets of three surface and contour plots were created, each while holding one of the nutrient concentrations fixed at its centre point. These surface and contour plots, along with canonical analysis, were then used to determine the optimal rate of all three factors. Correlation analysis of yield and vegetative parameters was performed using the RStudio software package “ggplot2” (Wickham, 2016 ). To determine if there were differences in inflorescence cannabinoid content attributable to treatment, data from cannabinoid analysis was tested with a one-way ANOVA followed by Tukey’s HSD post hoc test.
+ Open protocol
+ Expand
9

Multivariate Analysis of Genotype-Environment Interactions

Check if the same lab product or an alternative is used in the 5 most similar protocols
The analysis of variance was performed for CSRFAB scores, slope and AUGCP predictors that take into account all the time harvests at once. R package lme4 [62 (link)] was used for statistical analysis. The model for the phenotypic data analysis was Yijk = μ + Gi + Tj + Ek + GTij + GEik + GTEijk + Rlk + eijkl; where μ is the total mean, Gi is the effect of the ith genotype, Tj is the effect of the jth harvesting time, GTij is the effect of the interaction between the ith genotype and the jth harvesting time, GTEijk is the effect of the interaction between the ith genotype and the jth harvesting time in the kth environment, Ek is the effect of the kth environment, GEik is the interaction effect between the ith genotype and the kth environment, Rik/ is the effect of the Lth block within the kth environment, and eijk is a random error .
Correlation analyses between CSRFAB traits were performed using the cor function and Pearson method in R software.
Boxplots [63 ] were used to display a five-number data summary to better describe the variability within the data. The aesthetics with aes() function together with the geom_boxplot() layer both in ggplot2 (performed in Rstudio) provided a visualization of the data variability and dispersion.
+ Open protocol
+ Expand
10

PDX Model RNAseq Reveals SULF1/2 Expression

Check if the same lab product or an alternative is used in the 5 most similar protocols
PDX models were generated as described [31 (link)]. RNAseq was carried out on snap-frozen tissues from early passage (passage 1 to 3) PDX models, as described above. Expression of SULF1 and SULF2 was compared between patient and xenograft samples using a paired Wilcoxon rank sum test and visualized using the R package ggplot2 (v. 3.3.6) (RStudio, Auckland, New Zealand).
+ Open protocol
+ Expand

About PubCompare

Our mission is to provide scientists with the largest repository of trustworthy protocols and intelligent analytical tools, thereby offering them extensive information to design robust protocols aimed at minimizing the risk of failures.

We believe that the most crucial aspect is to grant scientists access to a wide range of reliable sources and new useful tools that surpass human capabilities.

However, we trust in allowing scientists to determine how to construct their own protocols based on this information, as they are the experts in their field.

Ready to get started?

Sign up for free.
Registration takes 20 seconds.
Available from any computer
No download required

Sign up now

Revolutionizing how scientists
search and build protocols!