<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Invasion</title><link>https://sourceforge.net/p/invade/wiki/Invasion/</link><description>Recent changes to Invasion</description><atom:link href="https://sourceforge.net/p/invade/wiki/Invasion/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 06 Feb 2019 13:46:58 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/invade/wiki/Invasion/feed" rel="self" type="application/rss+xml"/><item><title>Invasion modified by Robert Kofler</title><link>https://sourceforge.net/p/invade/wiki/Invasion/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Kofler</dc:creator><pubDate>Wed, 06 Feb 2019 13:46:58 -0000</pubDate><guid>https://sourceforge.netc86f93e8ec64761cea125946cce80bf51c4f883f</guid></item><item><title>Invasion modified by Robert Kofler</title><link>https://sourceforge.net/p/invade/wiki/Invasion/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v11
+++ v12
@@ -15,9 +15,24 @@
 We used a transposition rate of u=0.1 a population size of N=1000, a starting number of TEs of c0=10 and simulated the invasion for 100 generations. 
 A chromosome of size 1Mb and no piRNA clusters were simulated. We used 500 replicates.

+Which yields the following results:
+[[img src=obs-exp-inv.png]]
+
+* bold line: expectations based on the equation shown above
+* grey lines: observed invasions for 500 replicates
+
+
+## Conclusion
+Invade accurately reproduces the expected exponential increase of TE copy numbers in a population (no piRNA clusters). 
+
+# Material and Methods
+
+## Simulations
 ~~~~~~
 java -jar invade.jar cluster --min-w 0.1 --genome mb:1 --rr cm_mb:4 --u 0.1 --N 1000 --gen 100 --basepop seg:10 --rep 500 --silent --steps 1 --cluster-insertions 1 --simid "1"  &amp;gt; test-s10.txt 
 ~~~~~~
+
+## Visualization

 We visualized the observed and the expected invasion with the following R-code

@@ -38,13 +53,3 @@
 gl&amp;lt;-ggplot()+geom_line(data=t,aes(x=gen,group=rep,y=tes*1000),alpha=0.15,size=0.3)+scale_y_log10()+geom_line(data=theo,aes(x=x,y=y),size=2)+theme(legend.position="none")+ylab("TE copies in population")+xlab("generation")
 plot(gl)
 ~~~~~~
-
-Which yields the following results:
-[[img src=obs-exp-inv.png]]
-
-* bold line: expectations based on the equation shown above
-* grey lines: observed invasions for 500 replicates
-
-
-## Conclusion
-Invade accurately reproduces the expected exponential increase of TE copy numbers in a population (no piRNA clusters). 
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Kofler</dc:creator><pubDate>Wed, 06 Feb 2019 13:46:28 -0000</pubDate><guid>https://sourceforge.netbddcfef6bd69b38fa3d51e21ba63cd94b714072d</guid></item><item><title>Invasion modified by Robert Kofler</title><link>https://sourceforge.net/p/invade/wiki/Invasion/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Kofler</dc:creator><pubDate>Wed, 06 Feb 2019 10:31:34 -0000</pubDate><guid>https://sourceforge.neta855594b36ee26f52eb53fa939fc94103aeebf98</guid></item><item><title>Invasion modified by Robert Kofler</title><link>https://sourceforge.net/p/invade/wiki/Invasion/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v9
+++ v10
@@ -47,4 +47,4 @@

 ## Conclusion
-In the absence of piRNA-clusters Invade accurately reproduces the expected exponential increase of TE copy numbers in a population.
+Invade accurately reproduces the expected exponential increase of TE copy numbers in a population (no piRNA clusters). 
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Kofler</dc:creator><pubDate>Wed, 06 Feb 2019 10:31:15 -0000</pubDate><guid>https://sourceforge.net26ad614be91e6d3025e9b3b83285ed8851035de4</guid></item><item><title>Invasion modified by Robert Kofler</title><link>https://sourceforge.net/p/invade/wiki/Invasion/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v8
+++ v9
@@ -41,3 +41,10 @@

 Which yields the following results:
 [[img src=obs-exp-inv.png]]
+
+* bold line: expectations based on the equation shown above
+* grey lines: observed invasions for 500 replicates
+
+
+## Conclusion
+In the absence of piRNA-clusters Invade accurately reproduces the expected exponential increase of TE copy numbers in a population.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Kofler</dc:creator><pubDate>Wed, 06 Feb 2019 10:20:51 -0000</pubDate><guid>https://sourceforge.net8b3eb115e88c73708ceb89d511721a0606c8a7db</guid></item><item><title>Invasion modified by Robert Kofler</title><link>https://sourceforge.net/p/invade/wiki/Invasion/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Kofler</dc:creator><pubDate>Wed, 06 Feb 2019 10:18:49 -0000</pubDate><guid>https://sourceforge.netc38115aa7b6d525d1e20b060a230d56be96868f4</guid></item><item><title>Invasion modified by Robert Kofler</title><link>https://sourceforge.net/p/invade/wiki/Invasion/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Kofler</dc:creator><pubDate>Wed, 06 Feb 2019 10:18:18 -0000</pubDate><guid>https://sourceforge.net3dc0ab7043dc44d27a83d651a485b1c884b99807</guid></item><item><title>Invasion modified by Robert Kofler</title><link>https://sourceforge.net/p/invade/wiki/Invasion/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -37,5 +37,7 @@

 gl&amp;lt;-ggplot()+geom_line(data=t,aes(x=gen,group=rep,y=tes*1000),alpha=0.15,size=0.3)+scale_y_log10()+geom_line(data=theo,aes(x=x,y=y),size=2)+theme(legend.position="none")+ylab("TE copies in population")+xlab("generation")
 plot(gl)
+~~~~~~

-~~~~~~
+Which yields the following results:
+[[img src=obs-exp-inv.png]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Kofler</dc:creator><pubDate>Wed, 06 Feb 2019 10:10:15 -0000</pubDate><guid>https://sourceforge.netb282e9c7f1783afeaa7d0d617e7012bb2107702b</guid></item><item><title>Invasion modified by Robert Kofler</title><link>https://sourceforge.net/p/invade/wiki/Invasion/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -18,3 +18,24 @@
 ~~~~~~
 java -jar invade.jar cluster --min-w 0.1 --genome mb:1 --rr cm_mb:4 --u 0.1 --N 1000 --gen 100 --basepop seg:10 --rep 500 --silent --steps 1 --cluster-insertions 1 --simid "1"  &amp;gt; test-s10.txt 
 ~~~~~~
+
+We visualized the observed and the expected invasion with the following R-code
+
+~~~~~~
+library(ggplot2)
+library(RColorBrewer)
+library(plyr)
+library(gridExtra)
+theme_set(theme_bw())
+
+cn&amp;lt;-seq(0,99,1)
+res&amp;lt;-10*1.1^cn
+theo&amp;lt;-data.frame(x=1:100,y=res)
+t&amp;lt;-read.table("test-s10.txt")
+names(t)&amp;lt;-c("rep","gen","c1","c2","c3","tes")
+t$rep&amp;lt;-as.factor(t$rep)
+
+gl&amp;lt;-ggplot()+geom_line(data=t,aes(x=gen,group=rep,y=tes*1000),alpha=0.15,size=0.3)+scale_y_log10()+geom_line(data=theo,aes(x=x,y=y),size=2)+theme(legend.position="none")+ylab("TE copies in population")+xlab("generation")
+plot(gl)
+
+~~~~~~
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Kofler</dc:creator><pubDate>Wed, 06 Feb 2019 10:09:00 -0000</pubDate><guid>https://sourceforge.net91f519a37eecf066f69495942e59dab389cf112a</guid></item><item><title>Invasion modified by Robert Kofler</title><link>https://sourceforge.net/p/invade/wiki/Invasion/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -13,7 +13,7 @@

 We tested if a simulated invasion reproduces this expectations.
 We used a transposition rate of u=0.1 a population size of N=1000, a starting number of TEs of c0=10 and simulated the invasion for 100 generations. 
-A chromosome of size 1Mb and no piRNA clusters were simulated.
+A chromosome of size 1Mb and no piRNA clusters were simulated. We used 500 replicates.

 ~~~~~~
 java -jar invade.jar cluster --min-w 0.1 --genome mb:1 --rr cm_mb:4 --u 0.1 --N 1000 --gen 100 --basepop seg:10 --rep 500 --silent --steps 1 --cluster-insertions 1 --simid "1"  &amp;gt; test-s10.txt 
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Kofler</dc:creator><pubDate>Wed, 06 Feb 2019 10:06:38 -0000</pubDate><guid>https://sourceforge.net1a5306e4a840c6250219a2683812f435424e57de</guid></item></channel></rss>