R/Plotting_functions.R
plot_stoichio.RdPlot interaction stoichiometries per biological replicate
plot_stoichio(res, name, conditions = res$conditions, ref_condition = conditions[1], test = "t.test", test.args = list(paired = TRUE), map_signif_level = c(`***` = 0.001, `**` = 0.01, `*` = 0.05), save_file = NULL)
| res | an |
|---|---|
| name | name of the protein to display |
| conditions | set of conditions to display |
| ref_condition | name of the reference condition for all |
| test | name of the test function to compare sttoichiometries between conditions |
| test.args | arguments passed to function |
| map_signif_level | named vector with labels and corresponding significance levels |
| save_file | path of output file (.pdf) |
a plot