cziscience landing page (#1347)

* fix dead link in launch page

* first cut at landing page

* wording changes

* add additional refinements

* fixes from PR review
This commit is contained in:
Bruce Martin
2020-04-03 16:30:02 -07:00
committed by GitHub
parent de8033e551
commit 0d9f24115c
25 changed files with 446 additions and 260 deletions
+26 -22
View File
@@ -16,10 +16,10 @@
<meta property="og:url" content="http://localhost:4000/cellxgene/posts/launch.html" />
<meta property="og:site_name" content="cellxgene" />
<script type="application/ld+json">
{"description":"Demo datasets","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"http://localhost:4000/cellxgene/cellxgene-logo.png"}},"@type":"WebPage","url":"http://localhost:4000/cellxgene/posts/launch.html","headline":"demo-data","@context":"http://schema.org"}</script>
{"description":"Demo datasets","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"http://localhost:4000/cellxgene/cellxgene-logo.png"}},"@type":"WebPage","headline":"demo-data","url":"http://localhost:4000/cellxgene/posts/launch.html","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<link rel="stylesheet" href="/cellxgene/assets/css/style.css?v=d2171b9a2f9935b8b92c3103c93405d1d74ef2b3">
<link rel="stylesheet" href="/cellxgene/assets/css/style.css?v=88411ae4b44d899609d211ed2db5c41e4fba3068">
<!--[if lt IE 9]>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
<![endif]-->
@@ -85,6 +85,10 @@
<a href="/cellxgene/posts/contact" class="btn">Contact & finding help</a><br>
<a href="/cellxgene/posts/cellxgene_cziscience_com" class="btn">cellxgene.cziscience.com</a><br>
<a href="https://github.com/chanzuckerberg/cellxgene" class="btn" target="_blank">Code</a>
</p>
@@ -97,20 +101,20 @@
<p>Once youve <a href="prepare">prepared your data</a> for cellxgene, you can launch the app using</p>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>cellgene launch mydataset.h5ad --open
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>cellxgene launch mydataset.h5ad --open
</code></pre></div></div>
<p>You should see your web browser open with the following</p>
<p><img width="450" src="https://raw.githubusercontent.com/chanzuckerberg/cellxgene/master/docs/cellxgene-opening-screenshot.png" pad="50px" /></p>
<p><img width="600" src="../images/cellxgene-opening-screenshot.png" pad="50px" /></p>
<p><strong>Note</strong>: automatic opening of the browser with the <code class="highlighter-rouge">--open</code> flag only works on some platforms (eg, OSX). On other platforms youll need to directly point to the provided link in your browser.</p>
<p><strong>Note</strong>: automatic opening of the browser with the <code class="language-plaintext highlighter-rouge">--open</code> flag only works on some platforms (eg, OSX). On other platforms youll need to directly point to the provided link in your browser.</p>
<h2 id="launching-from-a-url">Launching from a URL</h2>
<p>You can also launch from a URL directly like this:</p>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>cellxgene launch https://github.com/chanzuckerberg/cellxgene/blob/master/example-dataset/pbmc3k.h5ad
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>cellxgene launch https://github.com/chanzuckerberg/cellxgene/blob/master/example-dataset/pbmc3k.h5ad
</code></pre></div></div>
<p>Support for S3 and GCS is not enabled by default. If you wish to directly access S3 or GFS, install one or both of the following packages:</p>
@@ -122,45 +126,45 @@
<p>For example:</p>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>pip install s3fs
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>pip install s3fs
cellxgene launch s3://mybucket.s3-us-west-2.amazonaws.com/mydata.h5ad
</code></pre></div></div>
<h2 id="options-for-cellxgene-launch">Options for cellxgene <code class="highlighter-rouge">launch</code></h2>
<h2 id="options-for-cellxgene-launch">Options for cellxgene <code class="language-plaintext highlighter-rouge">launch</code></h2>
<p><strong>For the most up-to-date and comprehensive list of options, run <code class="highlighter-rouge">cellxgene launch --help</code></strong></p>
<p><strong>For the most up-to-date and comprehensive list of options, run <code class="language-plaintext highlighter-rouge">cellxgene launch --help</code></strong></p>
<p><code class="highlighter-rouge">--open</code> automatically opens the web browser after launching (caveat: only works on some operating systems).</p>
<p><code class="language-plaintext highlighter-rouge">--open</code> automatically opens the web browser after launching (caveat: only works on some operating systems).</p>
<p><code class="highlighter-rouge">--experimental-annotations</code>, <code class="highlighter-rouge">--experimental-annotations-file</code> &amp; <code class="highlighter-rouge">--experimental-annotations-output-dir</code> all have to do with an experimental feature to allow users to create new categorical annotations in the application. We have a <a href="annotations">whole separate page</a> about their usage! :)</p>
<p><code class="language-plaintext highlighter-rouge">--disable-annotations</code>, <code class="language-plaintext highlighter-rouge">--annotations-file</code> &amp; <code class="language-plaintext highlighter-rouge">--annotations-dir</code> all have to do with creating new categorical annotations in the application. We have a <a href="annotations">whole separate page</a> about their usage! :)</p>
<p><code class="highlighter-rouge">--diffexp-lfc-cutoff</code> as explained <a href="methods">in the methods</a>, genes are only returned in differential expression if the effect size is above the specified threshold for log fold change. Defaults to 0.01.</p>
<p><code class="language-plaintext highlighter-rouge">--diffexp-lfc-cutoff</code> as explained <a href="methods">in the methods</a>, genes are only returned in differential expression if the effect size is above the specified threshold for log fold change. Defaults to 0.01.</p>
<p><code class="highlighter-rouge">--disable-diffexp</code> will disable and hide the <code class="highlighter-rouge">Compute Differential Expression</code> feature.
For large datasets, or datasets loaded with the <code class="highlighter-rouge">--backed</code> option, computing differential expression may
<p><code class="language-plaintext highlighter-rouge">--disable-diffexp</code> will disable and hide the <code class="language-plaintext highlighter-rouge">Compute Differential Expression</code> feature.
For large datasets, or datasets loaded with the <code class="language-plaintext highlighter-rouge">--backed</code> option, computing differential expression may
be extremely slow or use excessive resources on the host computer (e.g., memory thrashing).
Disabling the feature will ensure that this computation is not initiated accidentally.</p>
<p><code class="highlighter-rouge">--backed</code> option instructs <code class="highlighter-rouge">cellxgene launch</code> to read the H5AD file in “backed” mode (for more information, see the
<p><code class="language-plaintext highlighter-rouge">--backed</code> option instructs <code class="language-plaintext highlighter-rouge">cellxgene launch</code> to read the H5AD file in “backed” mode (for more information, see the
<a href="https://anndata.readthedocs.io/en/latest/anndata.read_h5ad.html#anndata.read_h5ad">anndata.read_h5ad() documentation</a>).</p>
<p>By default, cellxgene will read the entire H5AD will be into memory at startup, improving application speed and performance.
Very large datasets may not fit in memory. The “–backed” mode will read the file incrementally, reducing memory
use, and for large files, improving startup speed. <em>However</em>, this option will also significantly slow
down access to gene expression histograms, and may render differential expression calculations too slow
to use (see <code class="highlighter-rouge">--disable-diffexp</code> for an option to disable this feature).</p>
to use (see <code class="language-plaintext highlighter-rouge">--disable-diffexp</code> for an option to disable this feature).</p>
<p><code class="highlighter-rouge">--embedding</code> restricts which embeddings will be available in the viewer. By default, all embeddings specified in <code class="highlighter-rouge">anndata.obsm['X_name']</code> will be loaded; if you have many embeddings, you may wish to restrict this list for a speedier launch.</p>
<p><code class="language-plaintext highlighter-rouge">--embedding</code> restricts which embeddings will be available in the viewer. By default, all embeddings specified in <code class="language-plaintext highlighter-rouge">anndata.obsm['X_name']</code> will be loaded; if you have many embeddings, you may wish to restrict this list for a speedier launch.</p>
<p><code class="highlighter-rouge">--title</code> adds a title to the viewer. Defaults to file name.</p>
<p><code class="language-plaintext highlighter-rouge">--title</code> adds a title to the viewer. Defaults to file name.</p>
<p><code class="highlighter-rouge">--about</code> adds a link where users can go to find more infomation about the dataset. Requires <code class="highlighter-rouge">https</code>.</p>
<p><code class="language-plaintext highlighter-rouge">--about</code> adds a link where users can go to find more infomation about the dataset. Requires <code class="language-plaintext highlighter-rouge">https</code>.</p>
<p><code class="highlighter-rouge">--obs-names</code> allows you to specify which column in <code class="highlighter-rouge">anndata.obs</code> to use as <code class="highlighter-rouge">anndata.obs.index</code>.</p>
<p><code class="language-plaintext highlighter-rouge">--obs-names</code> allows you to specify which column in <code class="language-plaintext highlighter-rouge">anndata.obs</code> to use as <code class="language-plaintext highlighter-rouge">anndata.obs.index</code>.</p>
<p><code class="highlighter-rouge">--var-names</code> allows you to specify which column in <code class="highlighter-rouge">anndata.var</code> to use as <code class="highlighter-rouge">anndata.var.index</code>.</p>
<p><code class="language-plaintext highlighter-rouge">--var-names</code> allows you to specify which column in <code class="language-plaintext highlighter-rouge">anndata.var</code> to use as <code class="language-plaintext highlighter-rouge">anndata.var.index</code>.</p>
<p><code class="highlighter-rouge">--max-category-items</code> omits categorical metadata fields that contain more than N <em>distinct</em> values. Defaults to 1000.</p>
<p><code class="language-plaintext highlighter-rouge">--max-category-items</code> omits categorical metadata fields that contain more than N <em>distinct</em> values. Defaults to 1000.</p>
</section>
<footer>