plotSimulation: Plot predictions generated by simulateModel One plot per...

Description Usage Arguments Value Author(s) See Also

Description

Plot predictions generated by simulateModel One plot per measured node Plot with error bars if available, and give absolute value

Usage

1
2
3
plotSimulation(prediction, log_axis = FALSE, with_data = TRUE,
  data_color = cbbPalette[1], sim_colors = cbbPalette[-1],
  compare = list(), strict = TRUE)

Arguments

prediction

A list of the model predictions as produced by simulateModel

log_axis

Boolean, whether the ordinate axis should be in log scale

with_data

Display 2 bars per condition, one for the simulation and one for the data

data_color

Color of the bars corresponding to the data

sim_colors

Vector of colors for the bars corresponding to the simulations. The first color is used for the main prediction and the next for the predictions in 'compare', recycled as necessary for all predictions.

compare

A list of predictions to compare to. A predition is a list with fields 'bestfit', 'conditions', 'error', 'data', 'unstim_data' and 'variants' as generated by simulateModel

strict

When 'compare' is not empty, whether the other prediction conformity must be strictly evaluated (presence and equality of the field 'condition', equal name of columns in field 'bestfit') or not (the 'bestfit' length is the only thing that is checked)

Value

Invisibly, the matrix of the results of the simulation

Author(s)

Mathurin Dorel mathurin.dorel@charite.de

See Also

getCombinationMatrix, simulateModel

Other simulation: getCombinationMatrix, simulateModel


MathurinD/STASNet documentation built on May 28, 2019, 1:50 p.m.