<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Code</title><link>https://sourceforge.net/p/ripe-regnetinf/wiki/Code/</link><description>Recent changes to Code</description><atom:link href="https://sourceforge.net/p/ripe-regnetinf/wiki/Code/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 15 Apr 2014 09:05:21 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/ripe-regnetinf/wiki/Code/feed" rel="self" type="application/rss+xml"/><item><title>Code modified by Alexandra Jauhiainen</title><link>https://sourceforge.net/p/ripe-regnetinf/wiki/Code/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -10,7 +10,7 @@

 ##

-&gt; contrast.matrix &lt;- makeContrasts(K01-Wt, K02-Wt, K03-Wt,K04-Wt,K05-Wt,K06-Wt, + K07-Wt,K08-Wt,K09-Wt,K10-Wt, levels=design)
+&gt; contrast.matrix &lt;- makeContrasts(K01-Wt, K02-Wt, K03-Wt,K04-Wt,K05-Wt,K06-Wt,K07-Wt,K08-Wt,K09-Wt,K10-Wt, levels=design)
 &gt; fit2 &lt;- contrasts.fit(fit, contrast.matrix)
 &gt; fit2 &lt;- eBayes(fit2) # moderated t-statistics

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexandra Jauhiainen</dc:creator><pubDate>Tue, 15 Apr 2014 09:05:21 -0000</pubDate><guid>https://sourceforge.net0c7768ab5d6f12180c8d7124e324c0f0fc5867a3</guid></item><item><title>Code modified by Alexandra Jauhiainen</title><link>https://sourceforge.net/p/ripe-regnetinf/wiki/Code/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -54,7 +54,7 @@
 &gt; data(Layered)
 &gt; m&lt;-nrow(infMatr)
 &gt; p&lt;-ncol(infMatr)
-&gt; o &lt;- getOrderings(infMatr[,1:m],1000,50,name="LayeredNet")
+&gt; o &lt;- getOrderings(infMatr\[,1:m],1000,50,name="LayeredNet")
 &gt; DAGlkhds&lt;-DAGsFromOrders(exprDat,o,infWgt=infMatr,infConf=0.8)
 &gt; res&lt;-consensusNet(DAGlkhds,nbest=5,thresh=0.25)
 &gt; estAdj &lt;- res[[1]]$adjMat
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexandra Jauhiainen</dc:creator><pubDate>Wed, 22 May 2013 17:35:05 -0000</pubDate><guid>https://sourceforge.net925afdfc4f3582fd76e697d0c768e52132a25587</guid></item><item><title>Code modified by Alexandra Jauhiainen</title><link>https://sourceforge.net/p/ripe-regnetinf/wiki/Code/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -21,7 +21,7 @@

 ##

-infMatrix &lt;- influencePlot(pvalMatrix,c(1e-6,seq(0.001,0.3,0.005)))
+&gt; infMatrix &lt;- influencePlot(pvalMatrix,c(1e-6,seq(0.001,0.3,0.005)))

 ##

@@ -39,6 +39,7 @@
 &gt; adjMatrix

 ##
+
 &gt; measures&lt;-accMeasures(adjMatrix,goldAdjMatrix)
 &gt; measures

@@ -48,3 +49,14 @@
 &gt; V(g)$name &lt;- colnames(adjMatrix);V(g)$label &lt;- V(g)$name
 &gt; plot(g)

+##
+
+&gt; data(Layered)
+&gt; m&lt;-nrow(infMatr)
+&gt; p&lt;-ncol(infMatr)
+&gt; o &lt;- getOrderings(infMatr[,1:m],1000,50,name="LayeredNet")
+&gt; DAGlkhds&lt;-DAGsFromOrders(exprDat,o,infWgt=infMatr,infConf=0.8)
+&gt; res&lt;-consensusNet(DAGlkhds,nbest=5,thresh=0.25)
+&gt; estAdj &lt;- res[[1]]$adjMat
+&gt; a1 &lt;- accMeasures(estAdj,goldAdj)
+&gt; a2 &lt;- accMeasures(rbind(estAdj,matrix(0,59,100)),rbind(goldAdj,matrix(0,59,100)))
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexandra Jauhiainen</dc:creator><pubDate>Wed, 22 May 2013 17:34:05 -0000</pubDate><guid>https://sourceforge.net83b52b2094ba23f40550b93aed5d81306ea6302e</guid></item><item><title>Code modified by Alexandra Jauhiainen</title><link>https://sourceforge.net/p/ripe-regnetinf/wiki/Code/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,4 +1,50 @@
-
 &gt; library(ripe)
 &gt; library(limma)
 &gt; data(DREAM4)
+
+##
+
+&gt; design &lt;- model.matrix(~ 0+factor(rep(1:11,each=5)))
+&gt; colnames(design) &lt;- unique(colnames(pertData))
+&gt; fit &lt;- lmFit(pertData,design)
+
+##
+
+&gt; contrast.matrix &lt;- makeContrasts(K01-Wt, K02-Wt, K03-Wt,K04-Wt,K05-Wt,K06-Wt, + K07-Wt,K08-Wt,K09-Wt,K10-Wt, levels=design)
+&gt; fit2 &lt;- contrasts.fit(fit, contrast.matrix)
+&gt; fit2 &lt;- eBayes(fit2) # moderated t-statistics
+
+##
+
+&gt; pvalMatrix&lt;-t(fit2$p.value)
+&gt; diag(pvalMatrix)&lt;-NA
+
+##
+
+infMatrix &lt;- influencePlot(pvalMatrix,c(1e-6,seq(0.001,0.3,0.005)))
+
+##
+
+&gt; ords &lt;- getOrderings(infMatrix,1000,25,name="insilico_size10_1")
+
+
+##
+&gt; DAGScores &lt;- DAGsFromOrders(ssData,ords,infWgt=infMatrix)
+
+##
+
+&gt; nbest &lt;- ceiling(length(DAGScores$lklhds)*c(0.1,0.2,0.3))
+&gt; out &lt;- consensusNet(DAGScores,nbest=nbest)
+&gt; adjMatrix &lt;- out[[3]]$adjMat
+&gt; adjMatrix
+
+##
+&gt; measures&lt;-accMeasures(adjMatrix,goldAdjMatrix)
+&gt; measures
+
+##
+
+&gt; g &lt;- graph.adjacency(adjMatrix)
+&gt; V(g)$name &lt;- colnames(adjMatrix);V(g)$label &lt;- V(g)$name
+&gt; plot(g)
+
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexandra Jauhiainen</dc:creator><pubDate>Wed, 22 May 2013 17:22:49 -0000</pubDate><guid>https://sourceforge.netbefdf5c11e54ab77c26f14a10bb105143f80c5d6</guid></item><item><title>Code modified by Alexandra Jauhiainen</title><link>https://sourceforge.net/p/ripe-regnetinf/wiki/Code/</link><description>&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;library(ripe)&lt;br /&gt;
library(limma)&lt;br /&gt;
data(DREAM4)&lt;/p&gt;
&lt;/blockquote&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexandra Jauhiainen</dc:creator><pubDate>Wed, 22 May 2013 15:32:50 -0000</pubDate><guid>https://sourceforge.netb2eea1f6f195011714918e72975cb881152bacd1</guid></item></channel></rss>