mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-06 23:08:11 +08:00
Doc formatting improvements (#549)
This commit is contained in:
@@ -8,10 +8,9 @@
|
|||||||
|
|
||||||
## getting started
|
## getting started
|
||||||
|
|
||||||
You'll need **python 3.6** and **Google Chrome**. (*Warning*: Python 3.7 is **not** supported at this time)
|
You'll need **python 3.6** and **Google Chrome**. (_Warning_: Python 3.7 is **not** supported at this time)
|
||||||
The web UI is tested on OSX and Windows using Chrome, and the python CLI is tested on OSX and Ubuntu (via WSL/Windows). It should work on other platforms, but if you run into trouble let us know (see [help](#help-and-contact) below).
|
The web UI is tested on OSX and Windows using Chrome, and the python CLI is tested on OSX and Ubuntu (via WSL/Windows). It should work on other platforms, but if you run into trouble let us know (see [help](#help-and-contact) below).
|
||||||
|
|
||||||
|
|
||||||
To install run
|
To install run
|
||||||
|
|
||||||
```
|
```
|
||||||
@@ -120,10 +119,9 @@ pip install cellxgene
|
|||||||
|
|
||||||
We have included a dockerfile to conveniently run cellxgene from docker.
|
We have included a dockerfile to conveniently run cellxgene from docker.
|
||||||
|
|
||||||
1. Build the image `docker build . -t cellxgene`
|
1. Build the image `docker build . -t cellxgene`
|
||||||
2. Run the container and mount data `docker run -v "$PWD/example-dataset/:/data/" -p 5005:5005 cellxgene launch --host 0.0.0.0 data/pbmc3k.h5ad`
|
2. Run the container and mount data `docker run -v "$PWD/example-dataset/:/data/" -p 5005:5005 cellxgene launch --host 0.0.0.0 data/pbmc3k.h5ad`
|
||||||
* You will need to use --host 0.0.0.0 to have the container listen to incoming requests from the browser
|
- You will need to use --host 0.0.0.0 to have the container listen to incoming requests from the browser
|
||||||
|
|
||||||
|
|
||||||
## FAQ
|
## FAQ
|
||||||
|
|
||||||
|
|||||||
+1
-2
@@ -4,10 +4,10 @@ title: FAQ
|
|||||||
description: Frequently Asked Questions
|
description: Frequently Asked Questions
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
# Data formatting
|
# Data formatting
|
||||||
|
|
||||||
#### What file formats can I use with _cellxgene_?
|
#### What file formats can I use with _cellxgene_?
|
||||||
|
|
||||||
Currently, you can go straight into `cellxgene launch` with your own analyzed data in h5ad format, after you have performed dimenstionality reduction (tsne, umap) and clustering (louvain).
|
Currently, you can go straight into `cellxgene launch` with your own analyzed data in h5ad format, after you have performed dimenstionality reduction (tsne, umap) and clustering (louvain).
|
||||||
|
|
||||||
If your data is in a different format, and/or you still need to perform dimensionality reduction and clustering, `cellxgene` can do that for you with the `prepare` command. `cellxgene prepare` runs `scanpy` under the hood and can read in any format that is currently supported by `scanpy` (including mtx, loom, and more listed [here](https://scanpy.readthedocs.io/en/latest/api/index.html#reading)).
|
If your data is in a different format, and/or you still need to perform dimensionality reduction and clustering, `cellxgene` can do that for you with the `prepare` command. `cellxgene prepare` runs `scanpy` under the hood and can read in any format that is currently supported by `scanpy` (including mtx, loom, and more listed [here](https://scanpy.readthedocs.io/en/latest/api/index.html#reading)).
|
||||||
@@ -67,7 +67,6 @@ source ${ENV_NAME}/bin/activate
|
|||||||
pip install cellxgene
|
pip install cellxgene
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
#### In my _prepare_ command I received the following error `Warning: louvain module is not installed, no clusters will be calculated. To fix this please install cellxgene with the optional feature louvain enabled`
|
#### In my _prepare_ command I received the following error `Warning: louvain module is not installed, no clusters will be calculated. To fix this please install cellxgene with the optional feature louvain enabled`
|
||||||
|
|
||||||
Louvain clustering requires additional dependencies, so we don't include them by default. For now, you need to specify that you want these packages by using
|
Louvain clustering requires additional dependencies, so we don't include them by default. For now, you need to specify that you want these packages by using
|
||||||
|
|||||||
Reference in New Issue
Block a user