Create description.md
Browse files- description.md +45 -0
description.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Universal Cell Embeddings - Demo Instructions
|
| 2 |
+
|
| 3 |
+
## Overview
|
| 4 |
+
This demo allows users to upload a `.h5ad` file and process it using a pre-trained Universal Cell Embedding (UCE) model. The demo has two primary functionalities:
|
| 5 |
+
|
| 6 |
+
1. **Generate Embeddings**: Upload a `.h5ad` file, and the model will output the embeddings for the loaded cells.
|
| 7 |
+
2. **Cell-Type Classification**: For cells from the Tabula Sapiens v1 dataset, users can further classify the cell types based on the embeddings.
|
| 8 |
+
|
| 9 |
+
## Features
|
| 10 |
+
- **Upload and Embedding Generation**: Upload your `.h5ad` file containing single-cell RNA sequencing data, and the UCE model will generate embeddings representing the cells.
|
| 11 |
+
- **Human Cell-Type Classification**: Specifically for human data from the Tabula Sapiens v1 dataset, the demo can classify cells into known cell types based on the generated embeddings.
|
| 12 |
+
|
| 13 |
+
## How to Use the Demo
|
| 14 |
+
|
| 15 |
+
1. **Upload a `.h5ad` File**:
|
| 16 |
+
- Click on the "Upload File" button.
|
| 17 |
+
- Select your `.h5ad` file from your device. Ensure that the file is formatted correctly.
|
| 18 |
+
|
| 19 |
+
2. **Generate Embeddings**:
|
| 20 |
+
- After the file is uploaded, click on the "Generate Embeddings" button.
|
| 21 |
+
- The model will process the data and output the embeddings for each cell.
|
| 22 |
+
|
| 23 |
+
3. **Cell-Type Classification (Optional)**:
|
| 24 |
+
- If your data comes from the Tabula Sapiens v1 dataset, you can click on the "Classify Cell Types" button after generating embeddings.
|
| 25 |
+
- The demo will output the predicted cell types based on the embeddings.
|
| 26 |
+
|
| 27 |
+
## Supported Data
|
| 28 |
+
- **Input Format**: The demo accepts `.h5ad` files.
|
| 29 |
+
- **Supported Dataset**: The classification functionality is tailored for human data from Tabula Sapiens v1. Other datasets will only generate embeddings without classification.
|
| 30 |
+
|
| 31 |
+
## Example Workflow
|
| 32 |
+
1. **Step 1**: Upload your `.h5ad` file.
|
| 33 |
+
2. **Step 2**: Click "Generate Embeddings" to get the cell embeddings.
|
| 34 |
+
3. **Step 3**: (Optional) If working with Tabula Sapiens v1, click "Classify Cell Types" for classification results.
|
| 35 |
+
|
| 36 |
+
## Future Enhancements
|
| 37 |
+
- Expanding the classification functionality to support more datasets and species.
|
| 38 |
+
- Providing visualization tools for the embeddings directly within the demo.
|
| 39 |
+
|
| 40 |
+
## Limitations
|
| 41 |
+
- The classification feature is limited to Tabula Sapiens v1 dataset.
|
| 42 |
+
- For other datasets, only the embeddings will be generated without classification.
|
| 43 |
+
|
| 44 |
+
## Contact and Feedback
|
| 45 |
+
For any issues or feedback, please contact the development team through the Hugging Face community or open an issue in the repository.
|