define_interactions: Define interactions

Description Usage Arguments Value

View source: R/define_interactions.R

Description

Given a correlation data frame (as calculated by calculate_correlations) and a correlation threshold, defines the set of interactions in a correlation adjacency matrix.

Usage

1
define_interactions(correlation_df, correlation_thr)

Arguments

correlation_df

A correlation data frame (see calculate_correlations)

correlation_thr

A threshold for correlations (defaults to 0.75)

Value

An interaction data frame, where the presence or absence of an edge in the correlation network is given as a 1 or a 0 (respectively)


diogocamacho/diffnet documentation built on Aug. 6, 2020, 3:38 p.m.