<?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>k次元空間にn個の単位ベクトルがある ベクトル同士の内積が関係を表す ペアワイズな内積が個計算される その内積から、k次元単位球面上にn個のベクトルを再配置する library(sphere) k&lt;-5 n&lt;-30 X&lt;-RandomSphere(df=k,n=n) X #ペアワイズな内積の行列 Y&lt;-X%*%t(X) diag(Y)&lt;-1 Y # 角度にしてもよし Z&lt;-acos(Y) Z # このYを使って、ベクトルを再配置する VectorsFromPairwise&lt;-function(X,k){ n&lt;-length(X[,1]) M&lt;-matrix(0,n,n) M[1,1]&lt;-1 M…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryamada22.hatenablog.jp%2Fentry%2F20110406%2F1302053922&quot; title=&quot;ペアワイズLDの幾何配置 - 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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-04-06 10:38:42</published>
  <title>ペアワイズLDの幾何配置</title>
  <type>rich</type>
  <url>https://ryamada22.hatenablog.jp/entry/20110406/1302053922</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
