ahmadpgh / simDEF

simDEF is an NLP-based model for gene function analysis using Gene Ontology annotations of gene products and proteins.

Home Page:http://kiwi.cs.dal.ca/Software/SimDEF

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug in R code, variable used before being defined

datduong opened this issue · comments

In step 3, in using the R code, the variable "M" is not defined (line 42). Is this "M" supposed to be "SOC" ?

######################################

Here we start to build SOC matrix for BP

SOC <- BP_DEF%*%FOC;
a <- rowSums(M)
a <- 1/a