## Not run:
# ############# Get disease seed metabolites ################
# ##Example 1: Users have chose disease name provided by system (Prostate cancer),
# ## network is set "EHMN". The seeds are provided by default.
# seed1<-getSeed(diseaseName="Prostate cancer",network="EHMN",seedDefault=TRUE)
# print(seed1[1:5])
#
#
#
# ##Example 2: The disease name is provided by users. The seeds are provided by users.
# ## The network is set "KEGG".
# diseaseName<-"prostate cancer" ##the disease name provided by users.
# path2<-paste(system.file(package="PROFANCY"),"/localdata/ProstateSeeds.txt",sep="")
# seedExample<-read.table(path2)
# seedExample<-seedExample[[1]]
# seed2<-getSeed(diseaseName="Prostate cancer",network="EHMN",seed=seedExample,seedDefault=FALSE)
# print(seed2[1:5])
#
#
# ## End(Not run)
Run the code above in your browser using DataLab