<?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=Genome-wide_Association-MDS_and_PCA_Exercise</id>
		<title>Genome-wide Association-MDS and PCA Exercise - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://statgen.us/index.php?action=history&amp;feed=atom&amp;title=Genome-wide_Association-MDS_and_PCA_Exercise"/>
		<link rel="alternate" type="text/html" href="http://statgen.us/index.php?title=Genome-wide_Association-MDS_and_PCA_Exercise&amp;action=history"/>
		<updated>2026-04-05T20:04:08Z</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=Genome-wide_Association-MDS_and_PCA_Exercise&amp;diff=752&amp;oldid=prev</id>
		<title>Serveradmin: Created page with &quot;__NOTITLE__  ==Genome-wide Association-MDS and PCA Exercise==   plink --file GWAS_clean4 --genome --cluster --mds-plot 10  R  mydata = read.table(&quot;mds_components.txt&quot;, header=...&quot;</title>
		<link rel="alternate" type="text/html" href="http://statgen.us/index.php?title=Genome-wide_Association-MDS_and_PCA_Exercise&amp;diff=752&amp;oldid=prev"/>
				<updated>2019-01-24T18:22:57Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTITLE__  ==Genome-wide Association-MDS and PCA Exercise==   plink --file GWAS_clean4 --genome --cluster --mds-plot 10  R  mydata = read.table(&amp;quot;mds_components.txt&amp;quot;, header=...&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;
==Genome-wide Association-MDS and PCA Exercise==&lt;br /&gt;
&lt;br /&gt;
 plink --file GWAS_clean4 --genome --cluster --mds-plot 10&lt;br /&gt;
 R&lt;br /&gt;
 mydata = read.table(&amp;quot;mds_components.txt&amp;quot;, header=T)&lt;br /&gt;
 mydata$pch[mydata$Group==1 ] &amp;lt;-15 &lt;br /&gt;
 mydata$pch[mydata$Group==2 ] &amp;lt;-16 &lt;br /&gt;
 mydata$pch[mydata$Group==3 ] &amp;lt;-2&lt;br /&gt;
 jpeg(&amp;quot;mds.jpeg&amp;quot;, height=500, width=500) &lt;br /&gt;
 plot(mydata$C1, mydata$C2 ,pch=mydata$pch) &lt;br /&gt;
 dev.off()&lt;br /&gt;
 q()&lt;br /&gt;
 plink --file GWAS_clean4 --pheno pheno.txt --pheno-name Aff --logistic --adjust --out unadj&lt;br /&gt;
 plink --file GWAS_clean4 --genome --cluster --pca 10 header&lt;br /&gt;
 plink --file GWAS_clean4 --pheno pheno.txt --pheno-name Aff --covar plink.eigenvec --covar-name PC1 --logistic --adjust --out PC1&lt;br /&gt;
 plink --file GWAS_clean4 --pheno pheno.txt --pheno-name Aff --covar plink.eigenvec --covar-name PC1-PC2 --logistic --adjust --out PC1-PC2&lt;br /&gt;
 R&lt;br /&gt;
 source(&amp;quot;broadqq.R&amp;quot;)&lt;br /&gt;
 gws_unadj = aff_unadj[which(aff_unadj$P &amp;lt; 0.0000001),] &lt;br /&gt;
 gws_unadj&lt;br /&gt;
 gws_adjusted = aff_C1C2[which(aff_C1C2$P &amp;lt; 0.0000001),] &lt;br /&gt;
 gws_adjusted&lt;br /&gt;
 q()&lt;/div&gt;</summary>
		<author><name>Serveradmin</name></author>	</entry>

	</feed>