## Not run:
# ## metabolic network reconstruction and seed set identity of sample data anno.species
# net <- lapply(anno.species,reconstructGsMN)
# seed.sets <- lapply(net, getSeedSets)
# seed.sets <- lapply(seed.sets, function(x)x@seeds)
#
# ## calculate the complementarity index of the first species
# complementarity.index <- complementarityIndex(net[[1]],net[[2]],
# seed.sets[[1]], seed.sets[[2]])
# competition.index <- competitionIndex(net[[1]],net[[2]],
# seed.sets[[1]], seed.sets[[2]])
# ## End(Not run)
Run the code above in your browser using DataLab