plot_variation_vs_total:
Plots the total variation versus variation within replicates
Description
This function plots the total variation and the variation within replicates for a given value. If decoys are present these are removed before plotting.
Data table that is produced by the OpenSWATH/pyProphet workflow
column.values
Indicates the columns for which the variation is assessed. This can be the Intensity or Signal, but also the retention time.
Comparison1
The comparison for assessing the total variability. Default is to assess the variability per transition_group_id over the combination of Replicates and different Conditions.
Comparison2
The comparison for assessing the variability within the replicates. Default is to assess the variability per transition_group_id and Condition over the different Replicates.
fun.aggregate
If depending on the comparison values have to be aggregated one needs to provide the function here.
label
Option to print value of median cv.
...
further arguments passed to method.
Value
Plots in Rconsole a violin plot comparing the total variation with the variation within replicates. In addition it returns the data frame from which the plotting is done and a table with the calculated mean, median and mode of the cv for the total or replicate data.