am_save object.

am_save(x, filename, ...)

Arguments

x

summary, statistics or plot data from Trouvelot or Grid dataset

filename

path where save the file

...

arguments from ggsave function from ggplot2 package

Details

If you save the summary, two files will be saved corresponding to the summary two tables. The user can name the file but the save function will append "_per_Replicate.csv" and "_per_Sample.csv".

If you save the statistical summary one file will be saved with the "_Stat.csv" extention.

See also

`ggsave` from ggplot2 package

Examples

am_save(am_summary(example_grid)) am_save(am_summary(example_trouvelot)) am_save(am_barplot(example_trouvelot))
#> Saving 7 x 7 in image
am_save(am_stat(example_trouvelot))