genBPGraph {y2hStat} | R Documentation |
This function will take the Y2H data and generate either an adjacency matrix or an instance of the class graph.
genBPGraph(y2h, sym = FALSE, inNuc = FALSE, nonWeighted = FALSE, homodimer = TRUE)
y2h |
A three tiered list. Names of the second tier corresponds to ID of experiment. Names of the third tier should be the bait proteins. The entries of the third tier are character vectors of proteins detected as prey |
sym |
A logical - if TRUE, only symmetric interactions will be used to generate the adjcency matrix or graph |
inNuc |
A logical - if TRUE, only those proteins annotated to the nucleus GO terms will be used. |
nonWeighted |
A logical - if TRUE, the matrix will not determine the multiplicity of the interactions, but only the binary present or absent |
homodimer |
A logical - if FALSE, the matrix will not include the presence of homodimer interactions |
A list of adjaceny matrices based on the Y2H experimental data.
T Chiang
data(y2hSysGW) eg=y2hSysGW[3] genBGGraph(eg)