Skip to content

Commit

Permalink
Update latest documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Oct 14, 2024
1 parent e324931 commit e31a699
Show file tree
Hide file tree
Showing 18 changed files with 385 additions and 386 deletions.
685 changes: 342 additions & 343 deletions latest/examples/gwas_tutorial.html

Large diffs are not rendered by default.

52 changes: 26 additions & 26 deletions latest/examples/relatedness_tutorial.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion latest/generated/sgkit.variables.call_dosage_spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@
<h1>sgkit.variables.call_dosage_spec<a class="headerlink" href="#sgkit-variables-call-dosage-spec" title="Permalink to this heading">#</a></h1>
<dl class="py data">
<dt class="sig sig-object py" id="sgkit.variables.call_dosage_spec">
<span class="sig-prename descclassname"><span class="pre">sgkit.variables.</span></span><span class="sig-name descname"><span class="pre">call_dosage_spec</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">ArrayLikeSpec(default_name='call_dosage',</span> <span class="pre">__doc__='\nDosages,</span> <span class="pre">encoded</span> <span class="pre">as</span> <span class="pre">floats,</span> <span class="pre">with</span> <span class="pre">NaN</span> <span class="pre">indicating</span> <span class="pre">a</span> <span class="pre">missing</span> <span class="pre">value.\nDosages</span> <span class="pre">can</span> <span class="pre">represent</span> <span class="pre">one</span> <span class="pre">of</span> <span class="pre">several</span> <span class="pre">possible</span> <span class="pre">quantities,</span> <span class="pre">e.g.:\n-</span> <span class="pre">Alternate</span> <span class="pre">allele</span> <span class="pre">counts\n-</span> <span class="pre">Recessive</span> <span class="pre">or</span> <span class="pre">dominant</span> <span class="pre">allele</span> <span class="pre">encodings\n-</span> <span class="pre">True</span> <span class="pre">dosages</span> <span class="pre">as</span> <span class="pre">computed</span> <span class="pre">from</span> <span class="pre">imputed</span> <span class="pre">or</span> <span class="pre">probabilistic</span> <span class="pre">variant</span> <span class="pre">calls\n-</span> <span class="pre">Any</span> <span class="pre">other</span> <span class="pre">custom</span> <span class="pre">encoding</span> <span class="pre">in</span> <span class="pre">a</span> <span class="pre">user-defined</span> <span class="pre">variable\n',</span> <span class="pre">kind={'u',</span> <span class="pre">'i',</span> <span class="pre">'f'},</span> <span class="pre">ndim=2,</span> <span class="pre">dims=('variants',</span> <span class="pre">'samples'))</span></em><a class="headerlink" href="#sgkit.variables.call_dosage_spec" title="Permalink to this definition">#</a></dt>
<span class="sig-prename descclassname"><span class="pre">sgkit.variables.</span></span><span class="sig-name descname"><span class="pre">call_dosage_spec</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">ArrayLikeSpec(default_name='call_dosage',</span> <span class="pre">__doc__='\nDosages,</span> <span class="pre">encoded</span> <span class="pre">as</span> <span class="pre">floats,</span> <span class="pre">with</span> <span class="pre">NaN</span> <span class="pre">indicating</span> <span class="pre">a</span> <span class="pre">missing</span> <span class="pre">value.\nDosages</span> <span class="pre">can</span> <span class="pre">represent</span> <span class="pre">one</span> <span class="pre">of</span> <span class="pre">several</span> <span class="pre">possible</span> <span class="pre">quantities,</span> <span class="pre">e.g.:\n-</span> <span class="pre">Alternate</span> <span class="pre">allele</span> <span class="pre">counts\n-</span> <span class="pre">Recessive</span> <span class="pre">or</span> <span class="pre">dominant</span> <span class="pre">allele</span> <span class="pre">encodings\n-</span> <span class="pre">True</span> <span class="pre">dosages</span> <span class="pre">as</span> <span class="pre">computed</span> <span class="pre">from</span> <span class="pre">imputed</span> <span class="pre">or</span> <span class="pre">probabilistic</span> <span class="pre">variant</span> <span class="pre">calls\n-</span> <span class="pre">Any</span> <span class="pre">other</span> <span class="pre">custom</span> <span class="pre">encoding</span> <span class="pre">in</span> <span class="pre">a</span> <span class="pre">user-defined</span> <span class="pre">variable\n',</span> <span class="pre">kind={'i',</span> <span class="pre">'f',</span> <span class="pre">'u'},</span> <span class="pre">ndim=2,</span> <span class="pre">dims=('variants',</span> <span class="pre">'samples'))</span></em><a class="headerlink" href="#sgkit.variables.call_dosage_spec" title="Permalink to this definition">#</a></dt>
<dd><p>Dosages, encoded as floats, with NaN indicating a missing value.
Dosages can represent one of several possible quantities, e.g.:
- Alternate allele counts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@
<h1>sgkit.variables.interval_contig_name_spec<a class="headerlink" href="#sgkit-variables-interval-contig-name-spec" title="Permalink to this heading">#</a></h1>
<dl class="py data">
<dt class="sig sig-object py" id="sgkit.variables.interval_contig_name_spec">
<span class="sig-prename descclassname"><span class="pre">sgkit.variables.</span></span><span class="sig-name descname"><span class="pre">interval_contig_name_spec</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">ArrayLikeSpec(default_name='interval_contig_name',</span> <span class="pre">__doc__='Interval</span> <span class="pre">contig</span> <span class="pre">name.</span> <span class="pre">Must</span> <span class="pre">match</span> <span class="pre">a</span> <span class="pre">contig</span> <span class="pre">defined</span> <span class="pre">in</span> <span class="pre">the</span> <span class="pre">``contigs``</span> <span class="pre">attribute.',</span> <span class="pre">kind={'U',</span> <span class="pre">'O',</span> <span class="pre">'S'},</span> <span class="pre">ndim=1,</span> <span class="pre">dims=None)</span></em><a class="headerlink" href="#sgkit.variables.interval_contig_name_spec" title="Permalink to this definition">#</a></dt>
<span class="sig-prename descclassname"><span class="pre">sgkit.variables.</span></span><span class="sig-name descname"><span class="pre">interval_contig_name_spec</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">ArrayLikeSpec(default_name='interval_contig_name',</span> <span class="pre">__doc__='Interval</span> <span class="pre">contig</span> <span class="pre">name.</span> <span class="pre">Must</span> <span class="pre">match</span> <span class="pre">a</span> <span class="pre">contig</span> <span class="pre">defined</span> <span class="pre">in</span> <span class="pre">the</span> <span class="pre">``contigs``</span> <span class="pre">attribute.',</span> <span class="pre">kind={'S',</span> <span class="pre">'U',</span> <span class="pre">'O'},</span> <span class="pre">ndim=1,</span> <span class="pre">dims=None)</span></em><a class="headerlink" href="#sgkit.variables.interval_contig_name_spec" title="Permalink to this definition">#</a></dt>
<dd><p>Interval contig name. Must match a contig defined in the <code class="docutils literal notranslate"><span class="pre">contigs</span></code> attribute.</p>
</dd></dl>

Expand Down
2 changes: 1 addition & 1 deletion latest/generated/sgkit.variables.parent_id_spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@
<h1>sgkit.variables.parent_id_spec<a class="headerlink" href="#sgkit-variables-parent-id-spec" title="Permalink to this heading">#</a></h1>
<dl class="py data">
<dt class="sig sig-object py" id="sgkit.variables.parent_id_spec">
<span class="sig-prename descclassname"><span class="pre">sgkit.variables.</span></span><span class="sig-name descname"><span class="pre">parent_id_spec</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">ArrayLikeSpec(default_name='parent_id',</span> <span class="pre">__doc__='\nUnique</span> <span class="pre">identifiers</span> <span class="pre">of</span> <span class="pre">parent</span> <span class="pre">samples</span> <span class="pre">matching</span> <span class="pre">those</span> <span class="pre">in\n:data:`sgkit.variables.sample_id_spec`.\n',</span> <span class="pre">kind={'U',</span> <span class="pre">'O',</span> <span class="pre">'S'},</span> <span class="pre">ndim=2,</span> <span class="pre">dims=('samples',</span> <span class="pre">'parents'))</span></em><a class="headerlink" href="#sgkit.variables.parent_id_spec" title="Permalink to this definition">#</a></dt>
<span class="sig-prename descclassname"><span class="pre">sgkit.variables.</span></span><span class="sig-name descname"><span class="pre">parent_id_spec</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">ArrayLikeSpec(default_name='parent_id',</span> <span class="pre">__doc__='\nUnique</span> <span class="pre">identifiers</span> <span class="pre">of</span> <span class="pre">parent</span> <span class="pre">samples</span> <span class="pre">matching</span> <span class="pre">those</span> <span class="pre">in\n:data:`sgkit.variables.sample_id_spec`.\n',</span> <span class="pre">kind={'S',</span> <span class="pre">'U',</span> <span class="pre">'O'},</span> <span class="pre">ndim=2,</span> <span class="pre">dims=('samples',</span> <span class="pre">'parents'))</span></em><a class="headerlink" href="#sgkit.variables.parent_id_spec" title="Permalink to this definition">#</a></dt>
<dd><p>Unique identifiers of parent samples matching those in
<a class="reference internal" href="sgkit.variables.sample_id_spec.html#sgkit.variables.sample_id_spec" title="sgkit.variables.sample_id_spec"><code class="xref py py-data docutils literal notranslate"><span class="pre">sgkit.variables.sample_id_spec</span></code></a>.</p>
</dd></dl>
Expand Down
2 changes: 1 addition & 1 deletion latest/generated/sgkit.variables.sample_id_spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@
<h1>sgkit.variables.sample_id_spec<a class="headerlink" href="#sgkit-variables-sample-id-spec" title="Permalink to this heading">#</a></h1>
<dl class="py data">
<dt class="sig sig-object py" id="sgkit.variables.sample_id_spec">
<span class="sig-prename descclassname"><span class="pre">sgkit.variables.</span></span><span class="sig-name descname"><span class="pre">sample_id_spec</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">ArrayLikeSpec(default_name='sample_id',</span> <span class="pre">__doc__='The</span> <span class="pre">unique</span> <span class="pre">identifier</span> <span class="pre">of</span> <span class="pre">the</span> <span class="pre">sample.',</span> <span class="pre">kind={'U',</span> <span class="pre">'O',</span> <span class="pre">'S'},</span> <span class="pre">ndim=1,</span> <span class="pre">dims=('samples',))</span></em><a class="headerlink" href="#sgkit.variables.sample_id_spec" title="Permalink to this definition">#</a></dt>
<span class="sig-prename descclassname"><span class="pre">sgkit.variables.</span></span><span class="sig-name descname"><span class="pre">sample_id_spec</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">ArrayLikeSpec(default_name='sample_id',</span> <span class="pre">__doc__='The</span> <span class="pre">unique</span> <span class="pre">identifier</span> <span class="pre">of</span> <span class="pre">the</span> <span class="pre">sample.',</span> <span class="pre">kind={'S',</span> <span class="pre">'U',</span> <span class="pre">'O'},</span> <span class="pre">ndim=1,</span> <span class="pre">dims=('samples',))</span></em><a class="headerlink" href="#sgkit.variables.sample_id_spec" title="Permalink to this definition">#</a></dt>
<dd><p>The unique identifier of the sample.</p>
</dd></dl>

Expand Down
2 changes: 1 addition & 1 deletion latest/generated/sgkit.variables.stat_Fst_spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@
<h1>sgkit.variables.stat_Fst_spec<a class="headerlink" href="#sgkit-variables-stat-fst-spec" title="Permalink to this heading">#</a></h1>
<dl class="py data">
<dt class="sig sig-object py" id="sgkit.variables.stat_Fst_spec">
<span class="sig-prename descclassname"><span class="pre">sgkit.variables.</span></span><span class="sig-name descname"><span class="pre">stat_Fst_spec</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">ArrayLikeSpec(default_name='stat_Fst',</span> <span class="pre">__doc__='Fixation</span> <span class="pre">index</span> <span class="pre">(Fst)</span> <span class="pre">between</span> <span class="pre">pairs</span> <span class="pre">of</span> <span class="pre">cohorts.',</span> <span class="pre">kind='f',</span> <span class="pre">ndim=3,</span> <span class="pre">dims=({'variants',</span> <span class="pre">'windows'},</span> <span class="pre">'cohorts_0',</span> <span class="pre">'cohorts_1'))</span></em><a class="headerlink" href="#sgkit.variables.stat_Fst_spec" title="Permalink to this definition">#</a></dt>
<span class="sig-prename descclassname"><span class="pre">sgkit.variables.</span></span><span class="sig-name descname"><span class="pre">stat_Fst_spec</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">ArrayLikeSpec(default_name='stat_Fst',</span> <span class="pre">__doc__='Fixation</span> <span class="pre">index</span> <span class="pre">(Fst)</span> <span class="pre">between</span> <span class="pre">pairs</span> <span class="pre">of</span> <span class="pre">cohorts.',</span> <span class="pre">kind='f',</span> <span class="pre">ndim=3,</span> <span class="pre">dims=({'windows',</span> <span class="pre">'variants'},</span> <span class="pre">'cohorts_0',</span> <span class="pre">'cohorts_1'))</span></em><a class="headerlink" href="#sgkit.variables.stat_Fst_spec" title="Permalink to this definition">#</a></dt>
<dd><p>Fixation index (Fst) between pairs of cohorts.</p>
</dd></dl>

Expand Down
2 changes: 1 addition & 1 deletion latest/generated/sgkit.variables.stat_Tajimas_D_spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@
<h1>sgkit.variables.stat_Tajimas_D_spec<a class="headerlink" href="#sgkit-variables-stat-tajimas-d-spec" title="Permalink to this heading">#</a></h1>
<dl class="py data">
<dt class="sig sig-object py" id="sgkit.variables.stat_Tajimas_D_spec">
<span class="sig-prename descclassname"><span class="pre">sgkit.variables.</span></span><span class="sig-name descname"><span class="pre">stat_Tajimas_D_spec</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">ArrayLikeSpec(default_name='stat_Tajimas_D',</span> <span class="pre">__doc__='Tajima’s</span> <span class="pre">D</span> <span class="pre">for</span> <span class="pre">cohorts.',</span> <span class="pre">kind='f',</span> <span class="pre">ndim=2,</span> <span class="pre">dims=({'variants',</span> <span class="pre">'windows'},</span> <span class="pre">'cohorts'))</span></em><a class="headerlink" href="#sgkit.variables.stat_Tajimas_D_spec" title="Permalink to this definition">#</a></dt>
<span class="sig-prename descclassname"><span class="pre">sgkit.variables.</span></span><span class="sig-name descname"><span class="pre">stat_Tajimas_D_spec</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">ArrayLikeSpec(default_name='stat_Tajimas_D',</span> <span class="pre">__doc__='Tajima’s</span> <span class="pre">D</span> <span class="pre">for</span> <span class="pre">cohorts.',</span> <span class="pre">kind='f',</span> <span class="pre">ndim=2,</span> <span class="pre">dims=({'windows',</span> <span class="pre">'variants'},</span> <span class="pre">'cohorts'))</span></em><a class="headerlink" href="#sgkit.variables.stat_Tajimas_D_spec" title="Permalink to this definition">#</a></dt>
<dd><p>Tajima’s D for cohorts.</p>
</dd></dl>

Expand Down
2 changes: 1 addition & 1 deletion latest/generated/sgkit.variables.stat_divergence_spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@
<h1>sgkit.variables.stat_divergence_spec<a class="headerlink" href="#sgkit-variables-stat-divergence-spec" title="Permalink to this heading">#</a></h1>
<dl class="py data">
<dt class="sig sig-object py" id="sgkit.variables.stat_divergence_spec">
<span class="sig-prename descclassname"><span class="pre">sgkit.variables.</span></span><span class="sig-name descname"><span class="pre">stat_divergence_spec</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">ArrayLikeSpec(default_name='stat_divergence',</span> <span class="pre">__doc__='Genetic</span> <span class="pre">divergence</span> <span class="pre">between</span> <span class="pre">pairs</span> <span class="pre">of</span> <span class="pre">cohorts.',</span> <span class="pre">kind='f',</span> <span class="pre">ndim=3,</span> <span class="pre">dims=({'variants',</span> <span class="pre">'windows'},</span> <span class="pre">'cohorts_0',</span> <span class="pre">'cohorts_1'))</span></em><a class="headerlink" href="#sgkit.variables.stat_divergence_spec" title="Permalink to this definition">#</a></dt>
<span class="sig-prename descclassname"><span class="pre">sgkit.variables.</span></span><span class="sig-name descname"><span class="pre">stat_divergence_spec</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">ArrayLikeSpec(default_name='stat_divergence',</span> <span class="pre">__doc__='Genetic</span> <span class="pre">divergence</span> <span class="pre">between</span> <span class="pre">pairs</span> <span class="pre">of</span> <span class="pre">cohorts.',</span> <span class="pre">kind='f',</span> <span class="pre">ndim=3,</span> <span class="pre">dims=({'windows',</span> <span class="pre">'variants'},</span> <span class="pre">'cohorts_0',</span> <span class="pre">'cohorts_1'))</span></em><a class="headerlink" href="#sgkit.variables.stat_divergence_spec" title="Permalink to this definition">#</a></dt>
<dd><p>Genetic divergence between pairs of cohorts.</p>
</dd></dl>

Expand Down
2 changes: 1 addition & 1 deletion latest/generated/sgkit.variables.stat_diversity_spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@
<h1>sgkit.variables.stat_diversity_spec<a class="headerlink" href="#sgkit-variables-stat-diversity-spec" title="Permalink to this heading">#</a></h1>
<dl class="py data">
<dt class="sig sig-object py" id="sgkit.variables.stat_diversity_spec">
<span class="sig-prename descclassname"><span class="pre">sgkit.variables.</span></span><span class="sig-name descname"><span class="pre">stat_diversity_spec</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">ArrayLikeSpec(default_name='stat_diversity',</span> <span class="pre">__doc__='Genetic</span> <span class="pre">diversity</span> <span class="pre">(also</span> <span class="pre">known</span> <span class="pre">as</span> <span class="pre">&quot;Tajima’s</span> <span class="pre">pi&quot;)</span> <span class="pre">for</span> <span class="pre">cohorts.',</span> <span class="pre">kind='f',</span> <span class="pre">ndim=2,</span> <span class="pre">dims=({'variants',</span> <span class="pre">'windows'},</span> <span class="pre">'cohorts'))</span></em><a class="headerlink" href="#sgkit.variables.stat_diversity_spec" title="Permalink to this definition">#</a></dt>
<span class="sig-prename descclassname"><span class="pre">sgkit.variables.</span></span><span class="sig-name descname"><span class="pre">stat_diversity_spec</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">ArrayLikeSpec(default_name='stat_diversity',</span> <span class="pre">__doc__='Genetic</span> <span class="pre">diversity</span> <span class="pre">(also</span> <span class="pre">known</span> <span class="pre">as</span> <span class="pre">&quot;Tajima’s</span> <span class="pre">pi&quot;)</span> <span class="pre">for</span> <span class="pre">cohorts.',</span> <span class="pre">kind='f',</span> <span class="pre">ndim=2,</span> <span class="pre">dims=({'windows',</span> <span class="pre">'variants'},</span> <span class="pre">'cohorts'))</span></em><a class="headerlink" href="#sgkit.variables.stat_diversity_spec" title="Permalink to this definition">#</a></dt>
<dd><p>Genetic diversity (also known as “Tajima’s pi”) for cohorts.</p>
</dd></dl>

Expand Down
Loading

0 comments on commit e31a699

Please sign in to comment.