Home > Mateda2.0 > knowledge_extraction > visualization > ViewSummStruct.m

ViewSummStruct

PURPOSE ^

[results] = ViewSummStruct(run_structures,viewparams)

SYNOPSIS ^

function[results] = ViewSummStruct(run_structures,viewparams)

DESCRIPTION ^

 [results] = ViewSummStruct(run_structures,viewparams)
 ViewSummStruct:       Shows one image where each edge has a color proportional 
                       to the times it has been present in the structures learned in all generations.

 INPUT
 run_structures: Contain the data structures with all the structures
 learned by the probability models in every run and generation (see
 program ReadStructures.m for details.
 viewparams{1} = [pcolors,fs]; % pcolors: range of colors for the  images. fs: Font size for the images                       
 OUTPUT:
 results = [];

 Last version 8/26/2008. Roberto Santana (roberto.santana@ehu.es)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function[results] = ViewSummStruct(run_structures,viewparams)
0002 % [results] = ViewSummStruct(run_structures,viewparams)
0003 % ViewSummStruct:       Shows one image where each edge has a color proportional
0004 %                       to the times it has been present in the structures learned in all generations.
0005 %
0006 % INPUT
0007 % run_structures: Contain the data structures with all the structures
0008 % learned by the probability models in every run and generation (see
0009 % program ReadStructures.m for details.
0010 % viewparams{1} = [pcolors,fs]; % pcolors: range of colors for the  images. fs: Font size for the images
0011 % OUTPUT:
0012 % results = [];
0013 %
0014 % Last version 8/26/2008. Roberto Santana (roberto.santana@ehu.es)
0015 results = [];
0016 SumAllContactMatrix = run_structures{5};
0017 pcolors = viewparams{1}(1);                % Range of  colors
0018 fs = viewparams{1}(2);                     % Fontsize for the figures
0019 ShowImage(pcolors,fs,SumAllContactMatrix);

Generated on Fri 04-Dec-2009 13:38:29 by m2html © 2003