Camoco
Camoco copied to clipboard
Global degree does not change when changing significant edge value
The global degree of genes are always representative of a z-score of 3, it should update when you change the significant edge score.
In [69]: cob = co.COB("W2691") [LOG] Mon Feb 5 16:33:41 2018 - Loading Expr table [LOG] Mon Feb 5 16:33:41 2018 - Building Expr Index [LOG] Mon Feb 5 16:33:41 2018 - Loading RefGen [LOG] Mon Feb 5 16:33:41 2018 - Building Indices [LOG] Mon Feb 5 16:33:41 2018 - Loading Coex table [LOG] Mon Feb 5 16:33:44 2018 - Loading Global Degree [LOG] Mon Feb 5 16:33:44 2018 - Loading Clusters [LOG] Mon Feb 5 16:33:44 2018 - Building Indices
In [70]: Gene = cob.refgen.from_id("TRAESCS3D01G246000")
In [71]: cob.global_degree(Gene)
Out[71]: 120
In [72]: len(cob.neighbors(Gene, return_gene_set=True))
Out[72]: 120
In [73]: cob.set_sig_edge_zscore(2.5)
In [76]: cob.global_degree(Gene)
Out[76]: 120
In [77]: len(cob.neighbors(Gene, return_gene_set=True))
Out[77]: 902