An heatmap example for comparing plant floral volatiles; using R

Heatmap is among the most popular ways of visualization for multivariant data analysis people use in their presentation and researches. In studies of metabolomics related to plants or insects, heatmap can be straightforward in comparing metabolites among treatments in both quantitative and qualitative manners. Here one example is shown about how to illustrate the chemical…

CategoriesR

Two potential issues encounted by working with summarize() after group_by() in dplyr

In both cases, summarize() does not display expected results no matter how you group_by(). (1) Loading both ‘dplyr’ and ‘plyr’. (2) Changing the data layout after group_by(). The data below is from an insect feeding experiment divided into six groups in which insects were introduced on feeding diets containing different chemicals that were extracted by…

CategoriesR