igraphFromSummary: Function to construct an igraph network from fold-change and...

View source: R/igraphFromSummary.r

igraphFromSummaryR Documentation

Function to construct an igraph network from fold-change and p-value matrices

Description

Function to construct an igraph network from fold-change and p-value matrices

Usage

igraphFromSummary(fcMatrix, pvMatrix, cutoff, type = "removal")

Arguments

fcMatrix

A matrix of fold changes where the rows are labelled with the strains affected and the columns with the strains either added or removed from the core experiment.

pvMatrix

A matrix of p-values matching "fcMatrix".

cutoff

A numeric indicating the p-value significance cutoff.

type

A string, either "removal" or "addition", indicating the sort of experiment being summarised.

Details

None

Value

An igraph network object.

Author(s)

Chris Field <fieldc@ethz.ch>

Examples

None

cmfield/phylloR documentation built on Aug. 25, 2023, 10:07 a.m.