Tutorial 3: Pajek basics Qi YU.  Getting started  Data format in Pajek  Window tools in Pajek  Resources.

Slides:



Advertisements
Similar presentations
Chapter 3 – Web Design Tables & Page Layout
Advertisements

A script: what’s that thing ? A sort of language to tell Eye and Pen what he has to do, like a recipe: now do this, then do that, etc.  It allows to use.
Network Pajek.
Midwestern State University Department of Computer Science Dr. Ranette Halverson CMPS 2433 – CHAPTER 4 GRAPHS 1.
Macromedia Director 8 Foundation Level Course. What is Director? Director is a challenging program for creating animation and multimedia productions for.
Tutorial 12: Enhancing Excel with Visual Basic for Applications
Informetric methods seminar Tutorial 2: Using Pajek for network properties Qi Yu.
Graphs Graphs are the most general data structures we will study in this course. A graph is a more general version of connected nodes than the tree. Both.
Intermediate Level Course. Text Format The text styles, bold, italics, underlining, superscript and subscript, can be easily added to selected text. Text.
CS320n –Visual Programming LabVIEW Foundations. Visual ProgrammingLabVIEW Foundations2 What We Will Do Today Hand back and review the midterm Look at.
Graph Visualization CSC4170 Web Intelligence and Social Computing Tutorial 2 Tutor: Tom Chao Zhou
EGR 106 – Week 2 – Arrays & Scripts Brief review of last week Arrays: – Concept – Construction – Addressing Scripts and the editor Audio arrays Textbook.
ArcView Documents Francisco Olivera, Ph.D., P.E. Department of Civil Engineering Texas A&M University.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Introduction to Array The fundamental unit of data in any MATLAB program is the array. 1. An array is a collection of data values organized into rows and.
Lesson 46: Using Information From the Web copy and paste information from a Web site print a Web page download information from a Web site customize Web.
Chapter 3 Introduction to Event Handling and Windows Forms Applications.
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Chapter 9 Collecting Data with Forms. A form on a web page consists of form objects such as text boxes or radio buttons into which users type information.
TrendReader Standard 2 This generation of TrendReader Standard software utilizes the more familiar Windows format (“tree”) views of functions and file.
Digital Image Processing Lecture3: Introduction to MATLAB.
Chapter Seven Advanced Shell Programming. 2 Lesson A Developing a Fully Featured Program.
A First Program Using C#
Visual Basic Chapter 1 Mr. Wangler.
CSC/FAR 020, Computer Graphics, October 27, 2014 Dr. Dale E. Parson Outline for Week 9 Vectors and Paths, also File.
XP Tutorial 6New Perspectives on HTML and XHTML, Comprehensive 1 Creating Web Page Forms Designing a Product Registration Form Tutorial 6.
Advanced CSS - Page Layout. Advanced CSS  Compound Selectors:  Is a Dreamweaver term, not a CSS term.  Describes more advanced types of selectors such.
Systems Analysis – Analyzing Requirements.  Analyzing requirement stage identifies user information needs and new systems requirements  IS dev team.
Chapter 5 Java Script And Forms JavaScript, Third Edition.
Data Analysis and Security 11 Session Version 1.0 © 2011 Aptech Limited.
Sunbelt XXIV, Portorož, Pajek Workshop Vladimir Batagelj Andrej Mrvar Wouter de Nooy.
Tutorial 1 Getting Started with Adobe Dreamweaver CS3
Department of Mechanical Engineering, LSUSession VII MATLAB Tutorials Session VIII Graphical User Interface using MATLAB Rajeev Madazhy
IE 411/511: Visual Programming for Industrial Applications
ANSYS Fundamentals This document contains no technical data subject to the EAR or the ITAR.
BIM211 – Visual Programming Objects, Collections, and Events 1.
Appendices A - F A-F Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
Chapter 2 - More Controls More controls – Text boxes - used for user input – Frames - containers to group items – check boxes - user select an option -
Pajek – Program for Large Network Analysis Vladimir Batagelj and Andrej Mrvar.
MATLAB Harri Saarnisaari, Part of Simulations and Tools for Telecommunication Course.
CHAPTER TWO INTRODUCTION TO VISUAL BASIC © Prepared By: Razif Razali 1.
Creating Web Pages Chapter 5 Learn how to… Identify Web page creation strategies. Define HTML Web page elements. Describe the principles of good screen.
Basic Editing Lesson 2.
Chapter Two Creating a First Project in Visual Basic.
Creating Graphical User Interfaces (GUI’s) with MATLAB By Jeffrey A. Webb OSU Gateway Coalition Member.
VIDEO: INTRODUCTION TO STATA EMBA Data Analysis Professor Timothy Simcoe Boston University School of Management.
How to Analyse Social Network?
Chapter 4 Working with Frames. Align and distribute objects on a page Stack and layer objects Work with graphics frames Work with text frames Chapter.
Chapter 11: Block References and Attributes. After completing this Chapter, you will be able to use the following features: Create and insert block references.
1 CSC 594 Topics in AI – Text Mining and Analytics Fall 2015/16 6. Dimensionality Reduction.
XP Tutorial 8 Adding Interactivity with ActionScript.
Visual Basic Programming Introduction VB is one of the High level language VB has evolved from the BASIC language. BASIC stands for Beginners All-purpose.
Project Two Adding Web Pages, Links, and Images Define and set a home page Add pages to a Web site Describe Dreamweaver's image accessibility features.
CD Web XMS Training How to use the Xeno Media web site content management system.
Creating visual interfaces in python
© 2011 Delmar, Cengage Learning Chapter 4 Working with Frames.
CMPF114 Computer Literacy Chapter 3 The Visual Basic Environment 1.
“Pajek”: Large Network Analysis. 2 Agenda Introduction Network Definitions Network Data Files Network Analysis 2.
What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup.
1 Faculty Name Prof. A. A. Saati. 2 MATLAB Fundamentals 3 1.Reading home works ( Applied Numerical Methods )  CHAPTER 2: MATLAB Fundamentals (p.24)
Microsoft Visual Basic 2012: Reloaded Fifth Edition Chapter One An Introduction to Visual Basic 2012.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Tutorial 1 Getting Started with Adobe Dreamweaver CS5.
COMPREHENSIVE Excel Tutorial 12 Expanding Excel with Visual Basic for Applications.
3.01 Apply Controls Associated With Visual Studio Form
3.01 Apply Controls Associated With Visual Studio Form
Variables and Arithmetic Operations
DREAMWEAVER MX 2004 Chapter 3 Working with Tables
Vectors and Paths, also File Export
Presentation transcript:

Tutorial 3: Pajek basics Qi YU

 Getting started  Data format in Pajek  Window tools in Pajek  Resources

 Getting started  Data format in Pajek  Window tools in Pajek  Resources

 Pajek is a program, for Windows, for analysis and visualization of large networks having some thousands or even millions of vertices. In Slovenian language the word pajek means spider.

 Pajek should provide tools for analysis and visualization of such networks:  collaboration networks,  organic molecule in chemistry,  protein-receptor interaction networks,  genealogies,  Internet networks,  citation networks,  diffusion (AIDS, news, innovations) networks,  data-mining (2-mode networks), etc.  See also collection of large networks at: 

Approaches to deal with large networks

 to support abstraction by (recursive) decomposition of a large network into several smaller networks that can be treated further using more sophisticated methods;  to provide the user with some powerful visualization tools;  to implement a selection of ef fi cient (subquadratic) algorithms for analysis of large networks.

 Getting started  Data format in Pajek  Window tools in Pajek  Resources

 1. network – main object (vertices and lines - arcs, edges):  - graph, valued network, multirelational, 2-mode or temporal network  2. partition  - they tell for each vertex to which class vertex belong. Default extension:.clu  3. vector  - they tell for each vertex some numerical property (real number). Default extension:.vec  4. permutation – reordering of vertices  - reordering of vertices. Default extension:.per  5. cluster  - subset of vertices (e.g. one class from partition). Default extension:.cls.  6. hierarchy  - hierarchically vertices. Default extension:.hie

 Network can be defined in different ways on input file. Look at three of them:  1. List of neighbours (Arcslist / Edgeslist)(see test 1.net)see test 1.net *Vertices 5 1 ”a” 2 ”b” 3 ”c” 4 ”d” 5 ”e” *Arcslist *Edgeslist 1 5

 Data must be prepared in an input (ASCII) file. Program NotePad can be used for editing. Much better is a shareware editor, TextPad.TextPad  Words, starting with *, must always be written in first column of the line. They indicate the start of a definition of vertices or lines.  Using *Vertices 5 we define a network with 5 vertices. This must always be the first statement in definition of a network.  Definition of vertices follows after that – to each vertex we give a label, which is displayed between “ and ”.  Using *Arcslist, a list of directed lines from selected vertices are declared (1 2 4 means, that there exist two lines from vertex 1, one to vertex 2 and another to vertex 4).  Similarly *Edgeslist, declares list of undirected lines from selected vertex.  In the file no empty lines are allowed – empty line means end of network.

 2. Pairs of lines (Arcs / Edges) (see test 2.net)see test 2.net *Vertices 5 1 ”a” 2 ”b” 3 ”c” 4 ”d” 5 ”e” *Arcs *Edges 1 5 1

 Directed lines are defined using *Arcs, undirected lines are defined using *Edges. The third number in rows defining arcs/edges gives the value of the arc/edge.  In the previous format (Arcslist / Edgeslist) values of lines cannot be defined  – the format is suitable only if all values of lines are 1.  If values of lines are not important the third number can be omitted (all lines get value 1).  In the file no empty lines are allowed – empty line means end of network.

 3.Matrix (see test 3.net)see test 3.net *Vertices 5 1 ”a” 2 ”b” 3 ”c” 4 ”d” 5 ”e” *Matrix

 In this format directed lines (arcs) are given in the matrix form (*Matrix). If we want to transform bidirected arcs to edges we can use “Net>Transform>Arcs to Edges>Bidirected only”

 Only those elements necessary to define structure of network were described so far. Additionally, Pajek enables precise definition of elements used for drawing networks (coordinates of vertices, shapes and colors of vertices and lines,...).  Example: (see test 4.net)see test 4.net *Vertices 5 1 “a” box 2 “b” ellipse 3 “c” diamond 4 “d” triangle 5 “e” empty...

 Simple networks can be defined inside program Pajek as well without definition in an input file:  Select: “Net>Random Network>Total No. of Arcs”

 Partitions are used to describe nominal properties of vertices.  e.g., 1-men, 2-women  Definition in input file (see test.clu)see test.clu *Vertices

 We can build a partition using Pajek too:  Use "Partition>Create Null Partition”, or  Select “Draw>Draw-SelectAll”  Using that command three operations are executed:  a new partition of equal dimension as the number of vertices is generated;  all vertices are put to cluster 0, and  the network is drawn using the obtained null partition (all vertices are cyan).

 Vectors are used to describe numerical properties of vertices (e.g., centralities).  Definition in input file (see test.net)see test.net *Vertices

 Often it is the case that not only network but also several properties of the vertices are known in advance. This properties are usually stored as partitions or vectors. It is time consuming to load objects one by one. Therefore it is convenient to store all data in one file, called Pajek project file (.paj). (see test.paj)see test.paj  Project files can be produced manually by using “File>Pajek Project File>Save”  To load objects stored in Pajek project file select “File>Pajek Project File>Read”

 Getting started  Data format in Pajek  Window tools in Pajek  Resources

 The Main screen menus have a clear logic.  Manipulations that involve one type of data object are listed under a menu with the object’s name;  For example, the Net menu contains all commands that operate on one network and the Nets menu lists operations on two networks.  Manipulations that need different kinds of objects are listed in the Operations menu.  For example, if we want to extract a sub- network that consists of men from the original network file, two kinds of files are needed, that is the original network file and the partition file in which each vertex is assigned to the class “men” or “women”. Then we should select the option “operations>extract from network>partition”

 FILE  NET  OPERATIONS  PARTITION  VECTOR  DRAW  INFO

 Options>Mark vertices using  selects the way vertices are marked inthe picture  Options>Lines  visibility or nonvisibiliy of arcs and edges, selects the way lines are marked in the picture  Options>Size  selects the size of vertices, size of font, size of arrows and width of lines  Options>Colors  selects background color, color of vertices, lines, font...

 Getting started  Data format in Pajek  Window tools in Pajek  Resources

 Download  The latest version of Pajek is freely available, for non-commercial use, at its home page:  Text file into Pajek   WoS to Pajek   Tutorial  Exploratory Social Network Analysis with Pajek  visit Pajek wiki for more information 