<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://statgen.us/index.php?action=history&amp;feed=atom&amp;title=GeneABEL_Exercise</id>
		<title>GeneABEL Exercise - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://statgen.us/index.php?action=history&amp;feed=atom&amp;title=GeneABEL_Exercise"/>
		<link rel="alternate" type="text/html" href="http://statgen.us/index.php?title=GeneABEL_Exercise&amp;action=history"/>
		<updated>2026-04-05T18:26:53Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>http://statgen.us/index.php?title=GeneABEL_Exercise&amp;diff=650&amp;oldid=prev</id>
		<title>Zhihuiz at 16:20, 8 June 2018</title>
		<link rel="alternate" type="text/html" href="http://statgen.us/index.php?title=GeneABEL_Exercise&amp;diff=650&amp;oldid=prev"/>
				<updated>2018-06-08T16:20:15Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 16:20, 8 June 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot; &gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==GeneABEL Exercise==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==GeneABEL Exercise==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;R:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;R:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt; # &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/del&gt;Load files&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt; # Load files&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; library(GenABEL)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; library(GenABEL)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; convert.snp.tped(tped = &amp;quot;gwa_gabel_qtl.tped&amp;quot;, tfam = &amp;quot;gwa_gabel_qtl.tfam&amp;quot;, out = &amp;quot;gwa_gabel_qtl.raw&amp;quot;, strand = &amp;quot;u&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; convert.snp.tped(tped = &amp;quot;gwa_gabel_qtl.tped&amp;quot;, tfam = &amp;quot;gwa_gabel_qtl.tfam&amp;quot;, out = &amp;quot;gwa_gabel_qtl.raw&amp;quot;, strand = &amp;quot;u&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Zhihuiz</name></author>	</entry>

	<entry>
		<id>http://statgen.us/index.php?title=GeneABEL_Exercise&amp;diff=649&amp;oldid=prev</id>
		<title>Zhihuiz at 16:19, 8 June 2018</title>
		<link rel="alternate" type="text/html" href="http://statgen.us/index.php?title=GeneABEL_Exercise&amp;diff=649&amp;oldid=prev"/>
				<updated>2018-06-08T16:19:54Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 16:19, 8 June 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot; &gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==GeneABEL Exercise==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==GeneABEL Exercise==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt; # Load files&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;R:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt; # &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;Load files&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; library(GenABEL)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; library(GenABEL)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; convert.snp.tped(tped = &amp;quot;gwa_gabel_qtl.tped&amp;quot;, tfam = &amp;quot;gwa_gabel_qtl.tfam&amp;quot;, out = &amp;quot;gwa_gabel_qtl.raw&amp;quot;, strand = &amp;quot;u&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; convert.snp.tped(tped = &amp;quot;gwa_gabel_qtl.tped&amp;quot;, tfam = &amp;quot;gwa_gabel_qtl.tfam&amp;quot;, out = &amp;quot;gwa_gabel_qtl.raw&amp;quot;, strand = &amp;quot;u&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Zhihuiz</name></author>	</entry>

	<entry>
		<id>http://statgen.us/index.php?title=GeneABEL_Exercise&amp;diff=620&amp;oldid=prev</id>
		<title>Zhihuiz at 15:33, 7 June 2018</title>
		<link rel="alternate" type="text/html" href="http://statgen.us/index.php?title=GeneABEL_Exercise&amp;diff=620&amp;oldid=prev"/>
				<updated>2018-06-07T15:33:43Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 15:33, 7 June 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;__NOTITLE__&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==GeneABEL Exercise==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt; # Load files&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt; # Load files&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; library(GenABEL)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; library(GenABEL)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Zhihuiz</name></author>	</entry>

	<entry>
		<id>http://statgen.us/index.php?title=GeneABEL_Exercise&amp;diff=597&amp;oldid=prev</id>
		<title>Zhihuiz at 22:10, 6 June 2018</title>
		<link rel="alternate" type="text/html" href="http://statgen.us/index.php?title=GeneABEL_Exercise&amp;diff=597&amp;oldid=prev"/>
				<updated>2018-06-06T22:10:41Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 22:10, 6 June 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;===GenABEL===&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt; # Load files&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/del&gt;# Load files&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; library(GenABEL)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; library(GenABEL)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; convert.snp.tped(tped = &amp;quot;gwa_gabel_qtl.tped&amp;quot;, tfam = &amp;quot;gwa_gabel_qtl.tfam&amp;quot;, out = &amp;quot;gwa_gabel_qtl.raw&amp;quot;, strand = &amp;quot;u&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; convert.snp.tped(tped = &amp;quot;gwa_gabel_qtl.tped&amp;quot;, tfam = &amp;quot;gwa_gabel_qtl.tfam&amp;quot;, out = &amp;quot;gwa_gabel_qtl.raw&amp;quot;, strand = &amp;quot;u&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Zhihuiz</name></author>	</entry>

	<entry>
		<id>http://statgen.us/index.php?title=GeneABEL_Exercise&amp;diff=596&amp;oldid=prev</id>
		<title>Zhihuiz at 22:10, 6 June 2018</title>
		<link rel="alternate" type="text/html" href="http://statgen.us/index.php?title=GeneABEL_Exercise&amp;diff=596&amp;oldid=prev"/>
				<updated>2018-06-06T22:10:17Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;http://statgen.us/index.php?title=GeneABEL_Exercise&amp;amp;diff=596&amp;amp;oldid=570&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Zhihuiz</name></author>	</entry>

	<entry>
		<id>http://statgen.us/index.php?title=GeneABEL_Exercise&amp;diff=570&amp;oldid=prev</id>
		<title>Zhihuiz: Created page with &quot;__NOTITLE__  ==GeneABEL Exercise== &lt;pre&gt; plink --file GWAS_clean4 --pheno pheno.phen --pheno-name Aff --transpose --recode --out gwa_gabel --noweb  plink --file GWAS_clean4 --...&quot;</title>
		<link rel="alternate" type="text/html" href="http://statgen.us/index.php?title=GeneABEL_Exercise&amp;diff=570&amp;oldid=prev"/>
				<updated>2018-06-06T16:55:14Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTITLE__  ==GeneABEL Exercise== &amp;lt;pre&amp;gt; plink --file GWAS_clean4 --pheno pheno.phen --pheno-name Aff --transpose --recode --out gwa_gabel --noweb  plink --file GWAS_clean4 --...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTITLE__&lt;br /&gt;
&lt;br /&gt;
==GeneABEL Exercise==&lt;br /&gt;
&amp;lt;pre&amp;gt; plink --file GWAS_clean4 --pheno pheno.phen --pheno-name Aff --transpose --recode --out gwa_gabel --noweb&lt;br /&gt;
 plink --file GWAS_clean4 --pheno pheno.phen --pheno-name systolic --transpose --recode --out gwa_gabel_qtl --noweb&lt;br /&gt;
&lt;br /&gt;
 R:&lt;br /&gt;
 library(GenABEL)&lt;br /&gt;
 convert.snp.tped(tped = &amp;quot;gwa_gabel_qtl.tped&amp;quot;, tfam = &amp;quot;gwa_gabel_qtl.tfam&amp;quot;, out = &amp;quot;gwa_gabel_qtl.raw&amp;quot;, strand = &amp;quot;u&amp;quot;)&lt;br /&gt;
 g.dat &amp;amp;lt;- load.gwaa.data(phen = &amp;quot;gwa_gabel_qtl.praw&amp;quot;, gen = &amp;quot;gwa_gabel_qtl.raw&amp;quot;, force = T)&lt;br /&gt;
 slotNames(g.dat)&lt;br /&gt;
 slotNames(g.dat@gtdata)&lt;br /&gt;
 colnames(g.dat@phdata)&lt;br /&gt;
 sample.size &amp;amp;lt;- g.dat@gtdata@nids&lt;br /&gt;
 snps.total &amp;amp;lt;- g.dat@gtdata@nsnps&lt;br /&gt;
 print(c(sample.size, snps.total))&lt;br /&gt;
 summary(g.dat@phdata$disease)&lt;br /&gt;
 hist(g.dat@phdata$disease, main=&amp;quot;Quantitative Phenotype data summary&amp;quot;, xlab = &amp;quot;Systolic pressure&amp;quot;, freq = F,breaks=20, col=&amp;quot;gray&amp;quot;)&lt;br /&gt;
 rug(g.dat@phdata$disease)&lt;br /&gt;
 test.snp &amp;amp;lt;- scan.glm('disease ~ CRSNP', family = gaussian(), data = g.dat)&lt;br /&gt;
 names(test.snp)  &lt;br /&gt;
 alpha &amp;amp;lt;- 5e-8&lt;br /&gt;
 test.snp$snpnames[test.snp$P1df &amp;lt; alpha]&lt;br /&gt;
 test.snp$P1df[test.snp$P1df &amp;lt; alpha]&lt;br /&gt;
 test.qt &amp;amp;lt;- qtscore(disease, data = g.dat, trait = &amp;quot;gaussian&amp;quot;)&lt;br /&gt;
 slotNames(test.qt)&lt;br /&gt;
 names(test.qt@results)&lt;br /&gt;
 head(results(test.qt))&lt;br /&gt;
 test.qt@lambda&lt;br /&gt;
 descriptives.scan(test.qt)&lt;br /&gt;
 row.names(results(test.qt))[results(test.qt)$P1df &amp;lt; alpha]&lt;br /&gt;
 results(test.qt)$P1df[results(test.qt)$P1df &amp;lt; alpha] results(test.qt)$Pc1df[results(test.qt)$Pc1df &amp;lt; alpha]&lt;br /&gt;
 obs &amp;amp;lt;- sort(results(test.qt)$P1df) &lt;br /&gt;
 ept &amp;amp;lt;- ppoints(obs) &lt;br /&gt;
 plot(-log10(ept), -log10(obs), main = &amp;quot;GWAS QQ plot, qtl&amp;quot;, xlab=&amp;quot;Expected -log10(pvalue)&amp;quot;, ylab=&amp;quot;Observed -log10(pvalue)&amp;quot;)&lt;br /&gt;
 abline(0, 1, col = &amp;quot;red&amp;quot;)&lt;br /&gt;
 abline(h = 8, lty = 2)&lt;br /&gt;
 plot(test.qt, col = &amp;quot;black&amp;quot;)&lt;br /&gt;
 test.qt.sex &amp;amp;lt;- qtscore(disease ~ sex, data = g.dat, trait = &amp;quot;gaussian&amp;quot;)&lt;br /&gt;
 row.names(results(test.qt.sex))[results(test.qt)$P1df &amp;lt; alpha]&lt;br /&gt;
 summary(lm(disease ~ sex, data = g.dat))&lt;br /&gt;
 convert.snp.tped(tped = &amp;quot;gwa_gabel.tped&amp;quot;, tfam = &amp;quot;gwa_gabel.tfam&amp;quot;, out = &amp;quot;gwa_gabel.raw&amp;quot;, strand = &amp;quot;u&amp;quot;)&lt;br /&gt;
 b.dat &amp;amp;lt;- load.gwaa.data(phen = &amp;quot;gwa_gabel.praw&amp;quot;, gen = &amp;quot;gwa_gabel.raw&amp;quot;, force = T)&lt;br /&gt;
 slotNames(b.dat)&lt;br /&gt;
 slotNames(b.dat@gtdata)&lt;br /&gt;
 colnames(b.dat@phdata)&lt;br /&gt;
 b.dat@gtdata@nids&lt;br /&gt;
 case.size &amp;amp;lt;- length(which(b.dat@phdata$disease == 1))&lt;br /&gt;
 control.size &amp;amp;lt;- length(which(b.dat@phdata$disease == 0))&lt;br /&gt;
 case.size &lt;br /&gt;
 control.size &lt;br /&gt;
 snpsb.total &amp;amp;lt;- b.dat@gtdata@nsnps&lt;br /&gt;
 testb.snp &amp;amp;lt;- scan.glm('disease ~ CRSNP', family = binomial(), data = b.dat)&lt;br /&gt;
 names(testb.snp)  &lt;br /&gt;
 alpha &amp;amp;lt;- 5e-8&lt;br /&gt;
 testb.snp$snpnames[testb.snp$P1df &amp;lt; alpha]&lt;br /&gt;
 testb.snp$P1df[testb.snp$P1df &amp;lt; alpha]&lt;br /&gt;
 testb.qt &amp;amp;lt;- qtscore(disease, data = b.dat, trait = &amp;quot;binomial&amp;quot;)&lt;br /&gt;
 slotNames(testb.qt)&lt;br /&gt;
 descriptives.scan(testb.qt)&lt;br /&gt;
 row.names(results(testb.qt))[results(testb.qt)$P1df &amp;lt; alpha]&lt;br /&gt;
 results(testb.qt)$P1df[results(testb.qt)$P1df &amp;lt; alpha]&lt;br /&gt;
 results(testb.qt)$Pc1df[results(testb.qt)$Pc1df &amp;lt; alpha]  &lt;br /&gt;
 gkin &amp;amp;lt;- ibs(g.dat, weight = &amp;quot;freq&amp;quot;)&lt;br /&gt;
 gkin[1:10,1:10]&lt;br /&gt;
 cps.full &amp;amp;lt;- cmdscale(as.dist(.5 - gkin), eig = T, k = 10)&lt;br /&gt;
 names(cps.full)&lt;br /&gt;
 cps &amp;amp;lt;- cps.full$points&lt;br /&gt;
 plot(cps[,1], cps[,2], pch = g.dat@phdata$popn)&lt;br /&gt;
 legend(&amp;quot;topright&amp;quot;, c(&amp;quot;TSI&amp;quot;,&amp;quot;MEX&amp;quot;, &amp;quot;CEU&amp;quot;), pch = c(1,2,3))       &lt;br /&gt;
 colnames(cps)&amp;amp;lt;-c('C1','C2','C3','C4','C5','C6','C7','C8','C9','C10') &lt;br /&gt;
 gpc.dat &amp;amp;lt;- g.dat&lt;br /&gt;
 gpc.dat@phdata&amp;amp;lt;-cbind(g.dat@phdata, cps)&lt;br /&gt;
 test.pc.a &amp;amp;lt;- scan.glm('disease ~ CRSNP + C1 + C2 + C3 + C4 + C5', family=gaussian(), data = gpc.dat)&lt;br /&gt;
 test.pc.a$snpnames[test.pc.a$P1df &amp;lt; alpha]&lt;br /&gt;
 test.pc.a$P1df[test.pc.a$P1df &amp;lt; alpha]&lt;br /&gt;
 test.pc.b &amp;amp;lt;- qtscore(disease ~  C1 + C2 + C3 + C4 + C5, data = gpc.dat, trait = &amp;quot;gaussian&amp;quot;) &lt;br /&gt;
 test.pc.b@lambda&lt;br /&gt;
 plot(cps.full$eig[1:10]/sum(cps.full$eig), axes = F, type = &amp;quot;b&amp;quot;, xlab = &amp;quot;Components&amp;quot;,  ylim = c(0,0.05), ylab = &amp;quot;Proportion of Variations&amp;quot;, main = &amp;quot;MDS analysis scree plot&amp;quot;) &lt;br /&gt;
 axis(1, 1:10)&lt;br /&gt;
 axis(2)&lt;br /&gt;
 plot(cumsum(cps.full$eig[1:10])/sum(cps.full$eig), axes = F, type = &amp;quot;b&amp;quot;, ylim = c(0,0.2), xlab = &amp;quot;Components&amp;quot;, ylab = &amp;quot;Proportion of Variations&amp;quot;, main = &amp;quot;MDS analysis cumulative plot&amp;quot;) &lt;br /&gt;
 axis(1, 1:10)&lt;br /&gt;
 axis(2)&lt;br /&gt;
 row.names(results(test.qt))[results(test.qt)$Pc1df &amp;lt; alpha]&lt;br /&gt;
 results(test.qt)$Pc1df[results(test.qt)$Pc1df &amp;lt; alpha]&lt;br /&gt;
 test.qt@lambda&lt;br /&gt;
 obs &amp;amp;lt;- sort(results(test.qt)$chi2.1df)&lt;br /&gt;
 ept &amp;amp;lt;- sort(qchisq(ppoints(obs), df = 1)) &lt;br /&gt;
 plot(ept, obs, main = &amp;quot;Genomic control (lambda = slope of the dashed line)&amp;quot;, xlab=&amp;quot;Expected chisq, 1df&amp;quot;, ylab=&amp;quot;Observed chisq, 1df&amp;quot;)&lt;br /&gt;
 abline(0, 1, col = &amp;quot;red&amp;quot;)&lt;br /&gt;
 abline(0, test.qt@lambda[1], lty = 2)&lt;br /&gt;
 median(results(test.qt)$chi2.1df)/0.456&lt;br /&gt;
 obs &amp;amp;lt;- sort(results(test.qt)$Pc1df)&lt;br /&gt;
 ept &amp;amp;lt;- ppoints(obs) &lt;br /&gt;
 plot(-log10(ept), -log10(obs), main = &amp;quot;GWAS QQ plot adj. via Genomic Control&amp;quot;, xlab=&amp;quot;Expected -log10(pvalue)&amp;quot;, ylab=&amp;quot;Observed -log10(pvalue)&amp;quot;)&lt;br /&gt;
 abline(0, 1, col = &amp;quot;red&amp;quot;)&lt;br /&gt;
 abline(h = 8, lty = 2) &lt;br /&gt;
 adj.gkin = gkin&lt;br /&gt;
 diag(adj.gkin) = hom(g.dat)$Var&lt;br /&gt;
 test.eg &amp;amp;lt;- egscore(disease, data = g.dat, kin = adj.gkin, naxes = 2)&lt;br /&gt;
 descriptives.scan(test.eg)&lt;br /&gt;
 snp.eg &amp;amp;lt;- row.names(results(test.eg))[results(test.eg)$P1df &amp;lt; alpha]&lt;br /&gt;
 pvalue.eg &amp;amp;lt;- results(test.eg)$P1df[results(test.eg)$P1df &amp;lt; alpha] lambda.eg &amp;amp;lt;- test.eg@lambda&lt;br /&gt;
 snp.eg &lt;br /&gt;
 pvalue.eg&lt;br /&gt;
 lambda.eg&lt;br /&gt;
 for (k in 1:10){&lt;br /&gt;
  test.tmp &amp;amp;lt;- egscore(disease, data = g.dat, kin = adj.gkin, naxes = k)&lt;br /&gt;
 print(test.tmp@lambda$estimate)&lt;br /&gt;
 }&lt;br /&gt;
 obs &amp;amp;lt;- sort(results(test.eg)$Pc1df)&lt;br /&gt;
 ept &amp;amp;lt;- ppoints(obs) &lt;br /&gt;
 plot(-log10(ept), -log10(obs), main = &amp;quot;GWAS QQ plot adj. w/ EIGENSTRAT&amp;quot;, xlab=&amp;quot;Expected -log10(pvalue)&amp;quot;, ylab=&amp;quot;Observed -log10(pvalue)&amp;quot;)&lt;br /&gt;
 abline(0, 1, col = &amp;quot;red&amp;quot;)&lt;br /&gt;
 abline(h = 8, lty = 2)&lt;br /&gt;
 plot(test.qt, col = &amp;quot;black&amp;quot;)&lt;br /&gt;
 add.plot(test.eg, col = &amp;quot;gray&amp;quot;, pch = 3)&lt;br /&gt;
 legend(&amp;quot;topright&amp;quot;, c(&amp;quot;Original plot&amp;quot;,&amp;quot;After correction w/ EIGENSTRAT&amp;quot;), pch = c(1,3))&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Zhihuiz</name></author>	</entry>

	</feed>