Closed hukai916 closed 1 year ago
Hi Kai, Thank you for submit this. Could you show me some sample codes? I have trouble in understanding the updates.
Jianhong.
Hi Jianhong, Nothing really special, I just patched the codes to better handle cases when the detected GO or PATHWAY terms are only 1 or zero. If you compare the commits side by side, I bet you can immediately understand my intentions. Otherwise, let me know.
Minor changes to better handle edge case where detected GO or PATHWAY are zero. For example, below code assumes
all.GO
is a matrix, but when there is only one GO detected,all.GO
becomes a vector and theall.GO[,4]
syntax is no longer valid.