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

# BN_ParallelCoords

## PURPOSE

EXAMPLE 3:

## SYNOPSIS

This is a script file.

## DESCRIPTION

     EXAMPLE 3:
     Parallel coordinate visualization of the generations at which most
     frequent edges appearing in the structures  learned by an EDA. The
     vertical axis represent the generation at which edges (shown in the
     horizontal axis) has been learned. A line between two points means that
     both edges appear in the same structure learned at the same generation.

## CROSS-REFERENCE INFORMATION

This function calls:

- ViewStructuresFromFile [run_structures,results] = ViewStructuresFromFile(namefile,n,varargin)

This function is called by:

## SOURCE CODE

    0001 % EXAMPLE 3:
    0002 % Parallel coordinate visualization of the generations at which most
    0003 % frequent edges appearing in the structures  learned by an EDA. The
    0004 % vertical axis represent the generation at which edges (shown in the
    0005 % horizontal axis) has been learned. A line between two points means that
    0006 % both edges appear in the same structure learned at the same generation.
    0007
    0008  viewparams{1} = [14];
    0009  viewparams{2} = []; % The edges will be found by the algorithm
    0010  viewparams{3} = 20; % Only those edges that appear at least 20 times will be shown
    0011  viewparams{4} = 2;  % Only substructures that have at least two edges are visualized in the PC
    0012  viewparams{5} = 'ClusterUsingCorr'; % Variables will be ordered according correlation
    0013  viewparams{6} = 'correlation';  %The distance used to cluster edges is 1-correlation between variables.  (see help pdist).
    0014
    0015  [run_s,results] = ViewStructuresFromFile('ProteinStructsExR.txt', 20, 'viewmatrix_method','ViewPCStruct',viewparams)
    0016