Birmingham KickOff 67 Dec 2012 Chris Cannings Stochastic processes combinatorics graph theory algorithms IN Population genetics human genetics evolutionary games John Haslegrave ID: 688469
Download Presentation The PPT/PDF document "HIERATIC Chris Cannings" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
HIERATIC
Chris
Cannings
Birmingham, Kick-Off 6/7 Dec. 2012Slide2
Chris
Cannings
Stochastic processes,
combinatorics
,
graph theory, algorithms
IN
Population genetics, human genetics, evolutionary gamesSlide3
John
Haslegrave
Random graphs,
extremal
problems on graphs and trees.
07/12/2012
© The University of Sheffield
3Slide4
GRAPHS
G=(V,E) where V is a set (vertices) &
E \in (V*V) a set of edges.
Begin with a few examples.
07/12/2012
© The University of Sheffield
4Slide5Slide6
Protein-protein
interactions in yeastSlide7
A single cultured neurone, 2 days after planting
(Shefi et.al. (2002) Phys.Rev.E, 66, 021905.)Slide8
Genealogy
Female
MaleSlide9
GenealogySlide10
GenealogiesSlide11
TOPICS
1.Genealogies & Genetics
2.Games on Graphs…Majority Game
3.Reproducing Graphs
4.Growing Graphs
5.Graphic Sequences6.Patterns of ESS’s
07/12/2012
© The University of Sheffield
11Slide12
1. Genealogies AND Genetics
07/12/2012
© The University of Sheffield
12Slide13
Genealogies and Genetics
The vertices in a genealogy have genotypes. If we have alleles a1,a2,…,
ak
then we have types
ai.aj and the
passage of alleles obey Mendel’s laws. An ai.aj individual contributes an ai OR an
aj to each offspring independently.
07/12/2012
© The University of Sheffield
13Slide14
Calculations on Genealogies
Given some observations and a model calculate the Likelihood(model | data).
Peeling
07/12/2012
© The University of Sheffield
14
1
2
3Slide15
R-functions
where R(.) is the “likelihood” for the genealogy “peeled” to “v”, Pen(.,.) is the penetrance i.e. mapping from genotype to phenotype, Trans(.,.) as per
Mendelian
law.
07/12/2012
© The University of Sheffield
15Slide16
Recurrence Relation
,
07/12/2012
© The University of Sheffield
16
How
many such assignments are there to
a genealogy
?
We can derive recurrence relations as we add families. Example Gr built up of nuclear families,
Then number of configurations (when k=2) increases as
λ
=(11+(177)
0.5
)/2 so rate per individual about 2.3.Slide17
Repeated Double First Cousins
07/12/2012
© The University of Sheffield
17Slide18
2. GAMES ON GRAPHS
07/12/2012
© The University of Sheffield
18Slide19
Games on Graphs
G=(V,E). Vertex
i
at time (t+1) plays f(S(
i
)) where S(i
) is the set of strategies of i’s neighbours.Threshold Game. Strategies B and W. If vertex i
has more than w(i) B neighbours at time t then it plays B at time (t+1). Such games converge to fixed point or two-cycle.
07/12/2012
© The University of Sheffield
19Slide20
Majority Game
Example. Majority Game. Two strategies B and W.
Play at time t+1 strategy played by majority of neighbours at time t.
07/12/2012
© The University of Sheffield
20Slide21
Example. Game on 3-cube
There are 23 different (up to permutation) configurations of B and W on a 3-cube. It is easy to specify the dynamics.
What can we say more generally?
07/12/2012
© The University of Sheffield
21Slide22
ALL MAJORITY
PLAYERS DYNAMICS
FLASHERSSlide23
A class of “cylindrical” cubic graphs
Take two polygons of size n (here n=5).
5
1
2
3
4
5
1
2
3
4
Take a permutation
P={p
1
,p
2
,………..
p
n
},
and join each
i
on one
polygon to p
i
on the
other.
Example (shown)
perm=(1,2,3,5,4)
Denote such a graph n-CYL-PSlide24
1
2
3
4
5
2
3
4
5
1
1
2
3
4
5
2
3
4
5
1
1
2
3
4
5
2
3
4
5
1
1
2
3
4
5
2
3
4
5
1
B
A
C
D
5-CYL-{12345}
5-CYL-{12354}
5-CYL-{12453}
5-CYL_{13524}Slide25
Fixed Point Minority GameSlide26
An 8-cycle on the 3-cube
= majority player
= minority player
W
1-WSlide27Slide28Slide29
Hypercubes
Majority game on hypercube. Can we characterise the fixed points and two-cycles?
For the 5-cube there is a characterisation of the fixed points which allows there specification (10 distinct patterns).
07/12/2012
© The University of Sheffield
29Slide30
3.REPRODUCING GRAPHS
07/12/2012
© The University of Sheffield
30Slide31
Reproducing Graphs
Every vertex is duplicated, old edges persist and certain edges added. Here just parent-offspring joined.
07/12/2012
© The University of Sheffield
31
Parent
OffspringSlide32
Reproducing Graphs
In fact the resulting graph is the union of result from each edge separately.
Accordingly we can study the process starting from a single edge.
07/12/2012
© The University of Sheffield
32Slide33
Reproducing Graphs
We fix the presence or absence of the edges labelled
α
,
β
and (indicated by 0 and 1).
α
β
Model
0
0
0
0
0
0
1
1
0
1
0
2
0
1
1
3
1
0
0
4
1
0
1
5
1
1
0
6
1
1
1
7
u
1
v
1
u
0
v
0
β
β
αSlide34
Graph Products
These 8 cases are equivalent to certain graph products (and some new ones).
We (
Southwell
&
Cannings) have derived the degree dist., numbers of vertices and edges, chromatic number, distance structure and
automorphisms of these 8 models.
07/12/2012
© The University of Sheffield
34Slide35
Culling
We add “culling” by age, by degree, by fitness, corresponding to age, crowding and game payoffs.
07/12/2012
© The University of Sheffield
35Slide36
Example. Model 1, cull at age 3
Offspring joined to neighbours of parents.
Next slide shows progress through time omitting isolated vertices.Slide37
1
1
1
1
1
6
1
1
1
3
Degree cap = 6 Slide38
Issues
What cycles?
System closed under types?Slide39
4. GROWING GRAPHS
07/12/2012
© The University of Sheffield
39Slide40
Preferential Attachment
Simon(1954) (Barabasi and Albert(1999)) introduced an interesting model for the growth of a random network, “preferential attachment”.
Start with a few nodes, add a new node and link to the existing nodes with probabilities proportional to the current degrees of those nodes.Slide41
Preferential Attachment
Suppose we start with two joined nodes, and at each stage add a new node and a
single edge
which joins the new node to one of the old edges with probability proportional to the degree of that node.
We consider the complete set of possible realisations generated in the following way Slide42
Preferential Attachment
Example. (weights shown at nodes)
3
1
1
2
1
3
1
1
2
1
1
1
1
3
3
2
2
1
1
3
4
1
1
1
1
2
2
3
2
2
1
1
1
N=8=M
N=10,M=80Slide43
The Degree Distribution
Suppose a new vertex joins to
m
pre-existing ones
.Slide44
Preferential Attachment
Trouble is that the probabilities require a global property (total degree would be enough then sequential).
Saramaki
and
Kaski
suggested that one could pick a vertex at random and then carry out a random walk. Limit has P(vertex
i)=degree i / total degree.
07/12/2012
© The University of Sheffield
44Slide45
Random Walk
Saramaki
&
Kaski
claimed that any random walk would deliver preferential attachment.
Jordan & Cannings
have proved that a 1 step random walk has Ln is the proportion of leaves.
07/12/2012
© The University of Sheffield
45Slide46
Polya’s Urn-Friedman’s Urn
An urn has r red and b blue balls
Polya
. Draw a ball at random return 2 of that colour, then
R
n
(number of red balls) converges to a beta distribution with parameters depending on r and b.Friedman. Draw a ball at random and return with one of opposite colour. Rn
converges to 0.5 almost surely.
07/12/2012
© The University of Sheffield
46Slide47
Random Walk
Consider a bipartite graph, let
R
n
be the number of red vertices (i.e. one part of the graph) and the rest are blue. Select a vertex at random and make s steps. Is s is even join to colour proportional to number of that colour and so add a vertex of the opposite colour, s odd add vertex of same colour as that selected.,
07/12/2012
© The University of Sheffield
47Slide48
Random Walk
07/12/2012
© The University of Sheffield
48Slide49
Random Walk
For the BA model on a bipartite graph think of each edge as coloured red at the red set end and blue at the blue set end. Now picking a vertex with PA is like picking a half edge at random and then adding the other half. Thus
07/12/2012
© The University of Sheffield
49Slide50
The
M-model (
Chrysafis
& CC)
Vertex set V and E=V*V, weight
w
ij for each edge, si
= wi., mij
=
w
ij
/
s
i
.
, M=(mij
) is stochastic matrix for random walk. Pick node according to strength distribution then add weight according to the edge weights (models the “economic”effect of local development). Slide51Slide52
Simulation parameter values:
Network size:
N=10,000
δ=0.5
f
(
δ)=δ/(δ+1)
Propagation steps:
n=3
No of edges per new node:
m=2
Data averaged over 100 runs
Strength/weight evolutionSlide53
Strength-Degree Dependence
Simulation parameter values:
Network size:
N=10
4
δ=0.5
f
(
δ)=δ/(δ+1)
Propagation steps:
n=3
No of edges per new node:
m=1
Data from single random realization of the networkSlide54
Degree Sequence
Simulation parameter values:
N=10
4
,
δ=0.5
, f
(
δ)=δ/(δ+1)
,
n=3, m=1
Data averaged over 100 runsSlide55
Strength Distribution
Simulation parameter values:
N=10
4
,
δ=0.5
, f
(
δ)=δ/(δ+1)
, n=3, m=1
Data averaged over 100 runsSlide56
5.GRAPHIC SEQUENCES
07/12/2012
© The University of Sheffield
56Slide57
Graphic Deviations
A sequence {d1,d2,……
dk
} is said to graphic if there exists a simple graph whose degrees are exactly the
di’s
.
07/12/2012
© The University of Sheffield
57Slide58
Degree Preference
Population of k individuals. For individual
i
there is a range [
mi,Mi
] where it wishes its degree to lie.At each time t pick an individual, i
say. If the degree i \in [mi,Mi] do nothing, if i
< mi add a random edge, if i>Mi remove a random edge.
07/12/2012
© The University of Sheffield
58Slide59
Degree Preference
There are various tests for a sequence being graphic, Havel-
Hakimi
,
Erdos-Galais
, etc. We (Mark Broom and I) have extended these to allow one to calculate the minimum deviation (total degree), and proved that the set of graphs which achieve this score is connected under the possible transitions.
07/12/2012
© The University of Sheffield
59Slide60
07/12/2012
© The University of Sheffield
60Slide61
07/12/2012
© The University of Sheffield
61Slide62
07/12/2012
© The University of Sheffield
62Slide63
Degree Preference
The process is Markov. Within the set of “minimal” states we have reversibility so have detailed balance. However still difficult to calculate the stationary probabilities except in fairly simple cases.
07/12/2012
© The University of Sheffield
63Slide64
6.PATTERNS OF ESS’S
07/12/2012
© The University of Sheffield
64Slide65
Evolutionary Conflicts
What strategies persist in biological/social populations
?
07/12/2012
© The University of Sheffield
65Slide66
Evolutionarily Stable Strategies
p
q
=
(1-
λ
)p+
λ
q
p
Evolves
Population
Invaders
Perturbed population
p
Population is stable wrt invasionsSlide67
Exclusion Results
07/12/2012
© The University of Sheffield
67Slide68
Exclusion Results
07/12/2012
© The University of Sheffield
68Slide69
07/12/2012
© The University of Sheffield
69Slide70
07/12/2012
© The University of Sheffield
70Slide71
07/12/2012
© The University of Sheffield
71Slide72
Parker’s Model
07/12/2012
© The University of Sheffield
72Slide73
Parker’s Model
If we have just u and v in the population then the payoff matrix is
so u>>v if (v-u)>V/2
© The University of Sheffield
73
u-V/2 u
u+V
/2
<-v wins -
<u wins> < v wins > < u wins >
vSlide74
Parker’s Model
Suppose then that V=2
+
so x eliminates y
iff
x>y+1 and suppose we have x and y from S={0,2,……,m-1} then as mutations arise randomly and uniformly over S we have a Markov Chain
07/12/2012
© The University of Sheffield
74Slide75
Parker’s Model
07/12/2012
© The University of Sheffield
75Slide76
Stationary Distribution
07/12/2012
© The University of Sheffield
76Slide77
Stationary Distribution
07/12/2012
© The University of Sheffield
77Slide78
V ne 2+
Algorithm for any m
Continuous [0,m
] is open.
07/12/2012
© The University of Sheffield
78Slide79
7.MODULES IN GRAPH DYNAMICS.
07/12/2012
© The University of Sheffield
79Slide80
7. Modules on Graphs
One way of identifying a “module” in a graph is to find subsets of V such that if
i
in V then
i
has more neighbours in V than in not-V. Obviously this is related to the majority game.
An alternative approach is that of Irons and Monk who looked for dynamic modules
07/12/2012
© The University of Sheffield
80Slide81
07/12/2012
© The University of Sheffield
81Slide82
07/12/2012
© The University of Sheffield
82Slide83
07/12/2012
© The University of Sheffield
83Slide84
07/12/2012
© The University of Sheffield
84Slide85
07/12/2012
© The University of Sheffield
85Slide86
Graphs
07/12/2012
© The University of Sheffield
86Slide87
07/12/2012
© The University of Sheffield
87Slide88
07/12/2012
© The University of Sheffield
88Slide89
07/12/2012
© The University of Sheffield
89Slide90
07/12/2012
© The University of Sheffield
90