Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix yaml #52

Merged
merged 1 commit into from
Apr 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 0 additions & 35 deletions .readthedocs.yaml

This file was deleted.

Binary file modified docs/build/doctrees/ENVI.doctree
Binary file not shown.
Binary file modified docs/build/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/build/doctrees/index.doctree
Binary file not shown.
Binary file modified docs/build/doctrees/tutorial/MOp_MERFISH_tutorial.doctree
Binary file not shown.
Binary file modified docs/build/doctrees/utils.doctree
Binary file not shown.
File renamed without changes.
82 changes: 22 additions & 60 deletions docs/build/pre_built_html/utils.html → docs/build/html/ENVI.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<html class="no-js" lang="en" data-content_root="./">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<meta name="color-scheme" content="light dark"><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
<link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="search.html" /><link rel="prev" title="ENVI" href="ENVI.html" />
<meta name="color-scheme" content="light dark"><meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="search.html" /><link rel="next" title="Utilities" href="utils.html" /><link rel="prev" title="ENVI Tutorial" href="tutorial/MOp_MERFISH_tutorial.html" />

<!-- Generated with Sphinx 7.3.7 and Furo 2024.01.29 -->
<title>Utilities - scenvi 0.3.2 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=362ab14a" />
<title>ENVI - scenvi 0.3.2 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=a746c00c" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=135e06be" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo-extensions.css?v=36a5483c" />

Expand Down Expand Up @@ -134,7 +134,7 @@
<svg class="theme-icon-when-light"><use href="#svg-sun"></use></svg>
</button>
</div>
<label class="toc-overlay-icon toc-header-icon" for="__toc">
<label class="toc-overlay-icon toc-header-icon no-toc" for="__toc">
<div class="visually-hidden">Toggle table of contents sidebar</div>
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
</label>
Expand All @@ -160,8 +160,8 @@
</ul>
<p class="caption" role="heading"><span class="caption-text">Modules:</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="ENVI.html">ENVI</a></li>
<li class="toctree-l1 current current-page"><a class="current reference internal" href="#">Utilities</a></li>
<li class="toctree-l1 current current-page"><a class="current reference internal" href="#">ENVI</a></li>
<li class="toctree-l1"><a class="reference internal" href="utils.html">Utilities</a></li>
</ul>

</div>
Expand Down Expand Up @@ -190,57 +190,38 @@
<svg class="theme-icon-when-light"><use href="#svg-sun"></use></svg>
</button>
</div>
<label class="toc-overlay-icon toc-content-icon" for="__toc">
<label class="toc-overlay-icon toc-content-icon no-toc" for="__toc">
<div class="visually-hidden">Toggle table of contents sidebar</div>
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
</label>
</div>
<article role="main">
<section id="module-scenvi.utils">
<span id="utilities"></span><h1>Utilities<a class="headerlink" href="#module-scenvi.utils" title="Link to this heading">¶</a></h1>
<dl class="py function">
<dt class="sig sig-object py" id="scenvi.utils.compute_covet">
<span class="sig-prename descclassname"><span class="pre">scenvi.utils.</span></span><span class="sig-name descname"><span class="pre">compute_covet</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">spatial_data</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">k</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">8</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">g</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">64</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">genes</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">[]</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">spatial_key</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">'spatial'</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">batch_key</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">-1</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#scenvi.utils.compute_covet" title="Link to this definition">¶</a></dt>
<dd><p>Compute niche covariance matrices for spatial data, run with scenvi.compute_covet</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>(</strong><strong>anndata</strong><strong>)</strong> (<em>spatial_data</em>) – anndata with spatial data, with an obsm indicating spatial location of spot/segmented cell</p></li>
<li><p><strong>(</strong><strong>int</strong><strong>)</strong> (<em>g</em>) – number of nearest neighbours to define niche (default 8)</p></li>
<li><p><strong>(</strong><strong>int</strong><strong>)</strong> – number of HVG to compute COVET representation on (default 64)</p></li>
<li><p><strong>str</strong><strong>)</strong> (<em>genes</em><em> (</em><em>list of</em>) – list of genes to keep for niche covariance (default []</p></li>
<li><p><strong>(</strong><strong>str</strong><strong>)</strong> (<em>batch_key</em>) – obsm key name with physical location of spots/cells (default ‘spatial’)</p></li>
<li><p><strong>(</strong><strong>str</strong><strong>)</strong> – obs key name of batch/sample of spatial data (default ‘batch’ if in spatial_data.obs, else -1)</p></li>
</ul>
</dd>
<dt class="field-even">Return COVET<span class="colon">:</span></dt>
<dd class="field-even"><p>niche covariance matrices</p>
</dd>
<dt class="field-odd">Return COVET_SQRT<span class="colon">:</span></dt>
<dd class="field-odd"><p>matrix square-root of niche covariance matrices for approximate OT</p>
</dd>
<dt class="field-even">Return CovGenes<span class="colon">:</span></dt>
<dd class="field-even"><p>list of genes selected for COVET representation</p>
</dd>
</dl>
</dd></dl>

<section id="envi">
<h1>ENVI<a class="headerlink" href="#envi" title="Link to this heading">¶</a></h1>
</section>

</article>
</div>
<footer>

<div class="related-pages">

<a class="prev-page" href="ENVI.html">
<a class="next-page" href="utils.html">
<div class="page-info">
<div class="context">
<span>Next</span>
</div>
<div class="title">Utilities</div>
</div>
<svg class="furo-related-icon"><use href="#svg-arrow-right"></use></svg>
</a>
<a class="prev-page" href="tutorial/MOp_MERFISH_tutorial.html">
<svg class="furo-related-icon"><use href="#svg-arrow-right"></use></svg>
<div class="page-info">
<div class="context">
<span>Previous</span>
</div>

<div class="title">ENVI</div>
<div class="title">ENVI Tutorial</div>

</div>
</a>
Expand All @@ -262,28 +243,9 @@

</footer>
</div>
<aside class="toc-drawer">
<aside class="toc-drawer no-toc">


<div class="toc-sticky toc-scroll">
<div class="toc-title-container">
<span class="toc-title">
On this page
</span>
</div>
<div class="toc-tree-container">
<div class="toc-tree">
<ul>
<li><a class="reference internal" href="#">Utilities</a><ul>
<li><a class="reference internal" href="#scenvi.utils.compute_covet"><code class="docutils literal notranslate"><span class="pre">compute_covet()</span></code></a></li>
</ul>
</li>
</ul>

</div>
</div>
</div>


</aside>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
.highlight .cs { color: #8f5902; font-style: italic } /* Comment.Special */
.highlight .gd { color: #a40000 } /* Generic.Deleted */
.highlight .ge { color: #000000; font-style: italic } /* Generic.Emph */
.highlight .ges { color: #000000; font-weight: bold; font-style: italic } /* Generic.EmphStrong */
.highlight .gr { color: #ef2929 } /* Generic.Error */
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
.highlight .gi { color: #00A000 } /* Generic.Inserted */
Expand Down Expand Up @@ -107,6 +108,7 @@ body[data-theme="dark"] .highlight .c1 { color: #ababab; font-style: italic } /*
body[data-theme="dark"] .highlight .cs { color: #e50808; font-weight: bold; background-color: #520000 } /* Comment.Special */
body[data-theme="dark"] .highlight .gd { color: #d22323 } /* Generic.Deleted */
body[data-theme="dark"] .highlight .ge { color: #d0d0d0; font-style: italic } /* Generic.Emph */
body[data-theme="dark"] .highlight .ges { color: #d0d0d0; font-weight: bold; font-style: italic } /* Generic.EmphStrong */
body[data-theme="dark"] .highlight .gr { color: #d22323 } /* Generic.Error */
body[data-theme="dark"] .highlight .gh { color: #ffffff; font-weight: bold } /* Generic.Heading */
body[data-theme="dark"] .highlight .gi { color: #589819 } /* Generic.Inserted */
Expand Down Expand Up @@ -192,6 +194,7 @@ body:not([data-theme="light"]) .highlight .c1 { color: #ababab; font-style: ital
body:not([data-theme="light"]) .highlight .cs { color: #e50808; font-weight: bold; background-color: #520000 } /* Comment.Special */
body:not([data-theme="light"]) .highlight .gd { color: #d22323 } /* Generic.Deleted */
body:not([data-theme="light"]) .highlight .ge { color: #d0d0d0; font-style: italic } /* Generic.Emph */
body:not([data-theme="light"]) .highlight .ges { color: #d0d0d0; font-weight: bold; font-style: italic } /* Generic.EmphStrong */
body:not([data-theme="light"]) .highlight .gr { color: #d22323 } /* Generic.Error */
body:not([data-theme="light"]) .highlight .gh { color: #ffffff; font-weight: bold } /* Generic.Heading */
body:not([data-theme="light"]) .highlight .gi { color: #589819 } /* Generic.Inserted */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="#" /><link rel="search" title="Search" href="search.html" />

<!-- Generated with Sphinx 7.3.7 and Furo 2024.01.29 --><title>Index - scenvi 0.3.2 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=362ab14a" />
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=a746c00c" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=135e06be" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo-extensions.css?v=36a5483c" />

Expand Down Expand Up @@ -196,105 +196,8 @@

<section class="genindex-section">
<h1 id="index">Index</h1>
<div class="genindex-jumpbox"><a href="#C"><strong>C</strong></a> | <a href="#E"><strong>E</strong></a> | <a href="#I"><strong>I</strong></a> | <a href="#L"><strong>L</strong></a> | <a href="#M"><strong>M</strong></a> | <a href="#S"><strong>S</strong></a> | <a href="#T"><strong>T</strong></a></div>
<div class="genindex-jumpbox"></div>
</section>
<section id="C" class="genindex-section">
<h2>C</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="utils.html#scenvi.utils.compute_covet">compute_covet() (in module scenvi.utils)</a>
</li>
</ul></td>
</tr></table>
</section>

<section id="E" class="genindex-section">
<h2>E</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="ENVI.html#scenvi.ENVI.ENVI">ENVI (class in scenvi.ENVI)</a>
</li>
</ul></td>
</tr></table>
</section>

<section id="I" class="genindex-section">
<h2>I</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="ENVI.html#scenvi.ENVI.ENVI.impute_genes">impute_genes() (scenvi.ENVI.ENVI method)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="ENVI.html#scenvi.ENVI.ENVI.infer_niche_celltype">infer_niche_celltype() (scenvi.ENVI.ENVI method)</a>
</li>
<li><a href="ENVI.html#scenvi.ENVI.ENVI.infer_niche_covet">infer_niche_covet() (scenvi.ENVI.ENVI method)</a>
</li>
</ul></td>
</tr></table>
</section>

<section id="L" class="genindex-section">
<h2>L</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="ENVI.html#scenvi.ENVI.ENVI.latent_rep">latent_rep() (scenvi.ENVI.ENVI method)</a>
</li>
</ul></td>
</tr></table>
</section>

<section id="M" class="genindex-section">
<h2>M</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li>
module

<ul>
<li><a href="ENVI.html#module-scenvi.ENVI">scenvi.ENVI</a>
</li>
<li><a href="utils.html#module-scenvi.utils">scenvi.utils</a>
</li>
</ul></li>
</ul></td>
</tr></table>
</section>

<section id="S" class="genindex-section">
<h2>S</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li>
scenvi.ENVI

<ul>
<li><a href="ENVI.html#module-scenvi.ENVI">module</a>
</li>
</ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li>
scenvi.utils

<ul>
<li><a href="utils.html#module-scenvi.utils">module</a>
</li>
</ul></li>
</ul></td>
</tr></table>
</section>

<section id="T" class="genindex-section">
<h2>T</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="ENVI.html#scenvi.ENVI.ENVI.train">train() (scenvi.ENVI.ENVI method)</a>
</li>
</ul></td>
</tr></table>
</section>


</article>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<html class="no-js" lang="en" data-content_root="./">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<meta name="color-scheme" content="light dark"><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
<meta name="color-scheme" content="light dark"><meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="search.html" /><link rel="next" title="ENVI Tutorial" href="tutorial/MOp_MERFISH_tutorial.html" />

<!-- Generated with Sphinx 7.3.7 and Furo 2024.01.29 -->
<title>scenvi 0.3.2 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=362ab14a" />
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=a746c00c" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=135e06be" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo-extensions.css?v=36a5483c" />

Expand Down
9 changes: 9 additions & 0 deletions docs/build/html/objects.inv
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Sphinx inventory version 2
# Project: scenvi
# Version:
# The remainder of this file is compressed using zlib.
xÚ­WQoÛ ~ϯ@ª´7íµ/Uç4Z¤%’¶{¬ˆ4 žÁYóïw8vÖx5ޤʂûî>>ŽãJ¦\Äue,16»‘lÇ%¡ŸÉýêyq½·…ÄÑdÚx]¹A«Ç¼¿P{OëÍ'^ò‰$Ï÷$¡©>ðÞЮK Žz <ºpßÉÔÖVW‚Éi¡Ë—‚W¹0û—Æx-ʣڝ–åËò~3_l¿¶íæƒiÐW)“i-™ê•æ™¤Le4K©V—’ñ±„«¤Ã7Ÿ}C¾Yâø0Y¤ƒÀ àd–­šd1Ë¢•Í\û [£=mØ“G#Lô’î<ü¾[<#Ÿ‹Æ!Hem!{Oø3% ™¤£òâÎù¶S…B[ÜQÀc³ØØÆIlêyLuƒ|]a­Å.½8EžF—TÆ2)éûŽ5dÕŒ[“ÐÚ†¬­Dºç4åÀ`%Œ4h7/VÊ
¹Çõ踒bÄaÄa¤ƒZJ×ÊPØ`úƒgtÇ*êlñWl˜¶é 0­‘É} 3$ ´™‰Ð ±!òÒîÇIƒÞ‡-Pt;lzÎ!¥.Xi¨Î±°(tP®ì8IOË»52áõ
L(¢sÕ<2\"ö| EShÀ ø*Ëßh%õĸDÆÄ3Òxð èA¼ ÿ*ݤ•b†ÿüÚMºYÝ9Ê~ñË0õ?ðÊpW©"§Šó J=Vï&@±¶$ÁèêUäÄjª•r»Õ7!K0L"Z ©wØúÆ]Ùmˆö×5Ìb®jm…öHóZ¥®š›hObÞRiMÃÔüÚ3K…ñϘÛh%ßC8¾Vn‰›xÁøiœW
ã¸ão×ÇÙdêRmÞ¿õ½ŸÃ>m‚›Žs8!0ö…u<Z¬Féôü‡
¼ruáÝßX½—ô·n¦ï‡I¡³ ”å‘6€Yꬖ<wÐÂÖG»‡ÿâgц³*ýãÂx›Ùz|Í^ùä¯'×Ý^ôO<….ÃÅÓü7Ð%
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="#" />

<!-- Generated with Sphinx 7.3.7 and Furo 2024.01.29 --><title>Search - scenvi 0.3.2 documentation</title><link rel="stylesheet" type="text/css" href="_static/pygments.css?v=362ab14a" />
<!-- Generated with Sphinx 7.3.7 and Furo 2024.01.29 --><title>Search - scenvi 0.3.2 documentation</title><link rel="stylesheet" type="text/css" href="_static/pygments.css?v=a746c00c" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=135e06be" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo-extensions.css?v=36a5483c" />

Expand Down
Loading
Loading