⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 netgraph_draw_connections.m

📁 %The Metabolic Networks Toolbox contains functions to create, %modify, display, and simulate bioche
💻 M
字号:
function netgraph_draw_connections(network,M)% function netgraph_draw_connections(network,M)%% visualise quantitative relations among reactions% M is supposed to be a symmetric matrixn_react = length(network.graphics_par.actnames);x=network.graphics_par.x(:,end-n_react+1:end);for i1 = 1: n_react,for i2 = 1: i1-1,    % red for negative, green for positive values    c = [1 0 0]*(M(i1,i2)<0) + [0 1 0]*(M(i1,i2)>0);if M(i1,i2)~=0,    h=line( [x(1,i1) x(1,i2)],[x(2,i1) x(2,i2)]);set(h,'Color',c);endendend

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -