<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ryamada22</author_name>
  <author_url>https://blog.hatena.ne.jp/ryamada22/</author_url>
  <blog_title>ryamadaの遺伝学・遺伝統計学メモ</blog_title>
  <blog_url>https://ryamada22.hatenablog.jp/</blog_url>
  <categories>
    <anon>ハプロタイプ</anon>
    <anon>グラフ</anon>
    <anon>木</anon>
  </categories>
  <description>SNPのハプロタイプは0,1 Nh&lt;-10 # 染色体本数 Nm&lt;-20 # SNP数 # 適当にハプロタイプを作る H&lt;-matrix(sample(c(0,1),Nh*Nm,replace=TRUE),Nh,Nm) 染色体が２本合わさってディプロタイプを作る 染色体のプールからランダムにペアを作るとそれはHWE仮定 ShuffleAndDiploid&lt;-function(h){ Nh&lt;-length(h[,1]) H&lt;-h[sample(1:Nh),] H1&lt;-H[1:(Nh/2),] H2&lt;-H[(Nh/2+1):Nh,] H1+H2 } 多型性のないマーカーをシミュレーションで作ったら…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryamada22.hatenablog.jp%2Fentry%2F20110330%2F1301474344&quot; title=&quot;すべてのハプロタイプは世界に１本だけ配列のとき - ryamadaの遺伝学・遺伝統計学メモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://www.genome.med.kyoto-u.ac.jp/StatGenet/testRY20110208/plott.jpeg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-03-30 17:39:04</published>
  <title>すべてのハプロタイプは世界に１本だけ配列のとき</title>
  <type>rich</type>
  <url>https://ryamada22.hatenablog.jp/entry/20110330/1301474344</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
