Home > Mateda2.0 > ScriptsMateda > AnalysisScripts > BN_StructureFiltering.m

BN_StructureFiltering

PURPOSE ^

EXAMPLE 2:

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

  EXAMPLE 2:
  We want to see all adjacency matrices of those structures learned in all runs
  such that edges (3,4) and (4,5) appear together and edge (3,5) does not appear

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 %  EXAMPLE 2:
0002 %  We want to see all adjacency matrices of those structures learned in all runs
0003 %  such that edges (3,4) and (4,5) appear together and edge (3,5) does not appear
0004 
0005   nruns = 50;
0006   maxgen = 43;
0007   viewparams{1} = [100,14];
0008   viewparams{2} = [3 4 1; 4 5 1; 3 5 0];  % The substructure is described
0009   viewparams{3} = [1:nruns];              % Selected runs (All)
0010   viewparams{4} = [1:maxgen];             % Selected generations (All)
0011   viewparams{5} = 'all_graphs';           % Graphs to be seen (All)
0012   [run_s,results] = ViewStructuresFromFile('ProteinStructsExR.txt', 20, 'viewmatrix_method','ViewEdgDepStruct',viewparams)

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