Smooth, using a moving average across conditions, selected variables of an InteRactome

smooth_interactome(res, n = 1, order_conditions = NULL,
  var_smooth = c("fold_change", "p_val"))

Arguments

res

an InteRactome

n

integer, radius of the moving avergae (number of points extending on each side of the center point on which the average is computed)

order_conditions

a numeric vector ordering conditions in res$conditions

var_smooth

variables on which the moving average will be computed

Value

an smoothed InteRactome