<?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>R</anon>
  </categories>
  <description>こちらを見た 自分と異なる発想に触れると考えが広がるのでありがたい ２座位の場合 座位１のアレル数,座位２のアレル数 ハプロタイプ種類数 ディプロタイプ種類数(父由来(paternal),母由来(maternal)を区別する) vector,matrix,array。「平衡」状態は掛け算でできて、しかも、要素ごとに行わなくてもできる(matrixの掛け算がarrayにも拡張できているところがRらしくてよい) N1&lt;-3 #ローカス1のアレル数 N2&lt;-4 #ローカス2のアレル数 # アレル頻度 f1&lt;-runif(N1) f1&lt;-f1/sum(f1) f2&lt;-runif(N2) f2&lt;-f2/…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryamada22.hatenablog.jp%2Fentry%2F20101109%2F1289332836&quot; title=&quot;Rのarrayでハプロタイプのディプロタイプを表す - 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/func-gen-photo/albums/StatGenetTextbook/1-16.jpeg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-11-09 05:00:36</published>
  <title>Rのarrayでハプロタイプのディプロタイプを表す</title>
  <type>rich</type>
  <url>https://ryamada22.hatenablog.jp/entry/20101109/1289332836</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
