First we load the data. To do this vignette you can load the data available in this package

library(AligNet)
data(dme)
data(sce)
data("dme-dme")
data("sce-sce")
data("dme-sce")

Once we have the data loaded, we can compute the clusters

clusters.dme = extract.clusters(dme, cluster.network(dme.dme,0.2,20))

clusters.sce = extract.clusters(sce, cluster.network(sce.sce,0.2,20))

And with clusters, we can compute the local and the global alignment

all = internal[[1]]
global = internal[[2]][[2]]
all = align.local.all(clusters.dme, clusters.sce, dme.sce, 0)

global = align.global(all,dme.sce)

Finally with the alignments we compute the scores

EC.score(global, dme, sce)
data(go)
FC.score(global, go)


RicUIB/AligNet documentation built on May 28, 2019, 2:27 p.m.