computing mean and std deviation then plotting in a boxplot-like chart

Hi there!

So I am still very new to R and I have a very basic question. I want to calculate the mean and standard deviation of my data and then plot it in a box plot-like chart, here are the data:

`head(AtAAdata)

A tibble: 6 x 9

Species Genotype Timepoint Asn Gln Ile Leu Phe Total_amino_acids

1 At WT ED 1.45 12.1 32.3 26.1 66.1 21.1
2 At WT ED 1.64 8.36 26.1 29.5 61.1 16.7
3 At WT ED 1.27 7.50 20.8 20.9 55.4 14.8
4 At WT EN 1.31 9.08 12.2 17.4 22.3 14.6
5 At WT EN 1.57 5.46 23.1 24.2 23.0 10.9
6 At WT EN 1.54 7.17 15.8 20.3 22.3 12.4`

So I would like to plot the mean ± SD of the "Asn" column of all levels in a box plot.

"Genotype" has 2 levels, "WT" and "pgm"

"Timepoint" has 3 levels, "ED", "EN", and "XN"

Thanks,

Erik

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.