viabilityCharts: A function to create summary bar charts for directed graphs

Description Usage Arguments Value Author(s) Examples

View source: R/sumStatCharts.R

Description

This function takes a list of directed graph objects and creates a summary of the relative viable baits, viable prey, and viable bait/prey of each data graph.

Usage

1
viabilityCharts(dataGraphs, total=6466)

Arguments

dataGraphs

A named list of directed graphNELs

total

The total number of potential nodes (i.e. proteins) that could have been queried.

Value

A barchart object. Each item in the bar-chart represents one experimental data graph (set).

Author(s)

T Chiang

Examples

1
2
3
4
5
6
data("bpExperimentNames", package = "ppiData")
graphs <- new.env(parent = emptyenv())
data(list = bpExperimentNames, package = "ppiData", envir = graphs)
graphs <- lapply(bpExperimentNames, function(x) graphs[[x]])
names(graphs) <- bpExperimentNames
viabilityCharts(graphs)

Bioconductor/ppiStats documentation built on Nov. 1, 2021, 1:24 a.m.