compute_correlations: Compute correlation in protein recruitment

View source: R/Main_functions.R

compute_correlationsR Documentation

Compute correlation in protein recruitment

Description

Compute correlation in protein recruitment from interaction stoichiometries computed across all conditions for each biological replicate. Pearson correlations are used.

Usage

compute_correlations(
  res,
  idx = NULL,
  log = FALSE,
  n_edges_max = NULL,
  strict = TRUE,
  Rmin = 0,
  n_min = 3,
  P_max = 1
)

Arguments

res

an InteRactome or a data.frame

idx

indexes of the set of proteins for which correlations will be computed

log

logical, use log-transformed stoichiometries

n_edges_max

integer, limits the number of edges per node

strict

logical, if TRUE, ensures a strict upper bound on the maximal degree

Rmin

minimum absolute value of the Pearson R coefficient

n_min

minimum number of values used to compute correlation

P_max

maximum p-value associated with the correlation

Value

a data.frame with protein correlation information (correlation coefficient in column 'r_corr' and associated p-value in column 'p-corr')


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