collectBPStats {y2hStat} | R Documentation |
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.
collectBPStats(bpMat, weight)
bpMat |
A weighted Bait to Prey adjacency matrix |
weight |
A numeric vector of weights |
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.
T Chiang
data(y2hSysGW) eg = y2hSysGW[3] egMat = bpMatrix(eg) collectBPStats(egMat, 1:3)