collectBPStats {y2hStat}R Documentation

This function enumerates the multiplicity of bait to prey occurances.

Description

This function takes the output of the bpMatrix function and a numeric vector of weights and returns those bait to prey assocations for each weight or reponds that there is no such assocation with respect to that weight.

Usage

collectBPStats(bpMat, weight)

Arguments

bpMat A weighted Bait to Prey adjacency matrix
weight A numeric vector of weights

Value

The return value is a list of lists. The names of the top tier-ed list is the weights given by the user. Each entry of the second tier-ed list is a character vector of two proteins, (bait,prey), which correspond to the particular weight.

Author(s)

T Chiang

Examples

data(y2hSysGW)
eg = y2hSysGW[3]
egMat = bpMatrix(eg)
collectBPStats(egMat, 1:3)

[Package y2hStat version 1.2.0 Index]