smooth_interactome: Smooth, using a moving average across conditions, selected...

View source: R/Main_functions.R

smooth_interactomeR Documentation

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

Description

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

Usage

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


VoisinneG/InteRact documentation built on May 17, 2022, 11:40 p.m.