|
## Chunk 1
|
|||
library("BiocCaseStudies")
|
|||
|
## Chunk 2
|
|||
library("Biobase")
|
|||
|
## Chunk 3
|
|||
data("ccyclered")
|
|||
|
|||
|
|||
|
## Chunk 6
|
|||
cc = connectedComp(litG)
|
|||
|
|||
|
## Chunk 8
|
|||
ord = order(cclens, decreasing=TRUE)
|
|||
|
## Chunk 9
|
|||
lsg1 = layoutGraph(sg1, layoutType="neato")
|
|||
|
## Chunk 10
|
|||
renderGraph(lsg1)
|
|||
|
## Chunk 11
|
|||
renderGraph(lsg2)
|
|||
|
|||
|
## Chunk 13
|
|||
sps = sp.between(sg1, "YHR129C", "YOL039W")
|
|||
|
|||
|
|||
|
## Chunk 16
|
|||
allp = johnson.all.pairs.sp(sg1)
|
|||
|
|||
|
|||
|
|||
|
## Chunk 20
|
|||
cg = new("clusterGraph", clusters = clusts)
|
|||
|
|||
|
## Chunk 22
|
|||
commonG = intersection(cg, litG)
|
|||
|
|||
|
## Chunk 24
|
|||
nodePerm = function (g1, g2, B=1000) {
|
|||
|
## Chunk 25
|
|||
data("nPdist")
|
|||
|
|||
|
## Chunk 27
|
|||
library("RpsiXML")
|
|||
|
## Chunk 28
|
|||
fold <- system.file("/extdata/psi25files", package="RpsiXML")
|
|||
|
## Chunk 29
|
|||
slotNames(eg)
|
|||
|
## Chunk 30
|
|||
organismName(eg)
|
|||
|
## Chunk 31
|
|||
length(interactions(eg))
|
|||
|
## Chunk 32
|
|||
egbait = sapply(interactions(eg), bait)
|
|||
|
## Chunk 33
|
|||
egbait
|
|||
|
## Chunk 34
|
|||
interactors(eg)[1:2]
|
|||
|
## Chunk 35
|
|||
fn2 = file.path(fold, "intact_complexSample.xml")
|
|||
|
## Chunk 36
|
|||
length(complexes(comps))
|
|||
|
## Chunk 37
|
|||
complexes(comps)[[1]]
|
|||
|
## Chunk 38
|
|||
s1 = file.path(fold, "human_stelzl-2005-1_01.xml")
|
|||
|
## Chunk 39
|
|||
abstract(stelzl1)
|
|||
|
## Chunk 40
|
|||
compXML <- file.path(fold, "intact_complexSample.xml")
|
|||
|
## Chunk 41
|
|||
complexes(pcHg[[1]])
|
|||
|
## Chunk 42
|
|||
deg = degree(stelzl1)
|
|||
|
## Chunk 43
|
|||
graph.par(list(nodes=list(fill="steelblue", label="")))
|
|||
|
## Chunk 44
|
|||
stelzlSG <- layoutGraph(stelzlSG, layoutType="neato")
|
|||
|
## Chunk 45
|
|||
stelzlSG <- layoutGraph(stelzlSG, layoutType="twopi")
|
|||