Skip to main content
Yomix logo

codestyle

LATEST RELEASE: see https://pypi.org/project/yomix/

DOCUMENTATION: https://perrin-isir.github.io/yomix/

Yomix is an interactive tool to explore low dimensional embeddings of omics data.

As illustrated in the GIF below, users can explore embeddings—typically generated using dimensionality reduction techniques such as UMAP, t-SNE, TriMap, or VAEs. Within these visualizations, users can identify clusters of interest and use a lasso tool to define specific subsets. Yomix can then compute gene signatures for these subsets almost instantaneously. For instance, it can identify gene signatures that best distinguish subset A from the rest of the data, differentiate subset A from subset B, or find genes whose expression levels are most strongly correlated with a user-defined direction within subset A.

alt text

INSTALL

In a python virtual environment, do:

pip install yomix

Then try the tool with:

yomix --example

To use it on your own files:

yomix yourfile.h5ad

where yourfile.h5ad is an anndata object saved in h5ad format (see anndata - Annotated data), with at least one .obsm field of dimension 2 or more (the low dimensional embedding).

When there are many samples in the dataset, the --subsampling option can be passed to improve reactiveness:

yomix --subsampling N yourfile.h5ad

It randomly subsamples the dataset to a maximum number of N samples. For example:

yomix --subsampling 5000 yourfile.h5ad
Other option: INSTALL FROM SOURCE

git clone https://github.com/perrin-isir/yomix.git

We recommand to create a python environment with micromamba, but any python package manager can be used instead.

cd yomix

micromamba create --name yomixenv --file environment.yaml

micromamba activate yomixenv

pip install -e .

Then try the tool with:

yomix yomix/example/pbmc.h5ad

The input file must be an anndata object saved in h5ad format (see anndata - Annotated data), with at least one .obsm field of dimension 2 or more.

Using Seurat objects with Yomix

You can use Seurat objects by converting them to .h5ad format in R:

Load required libraries:

library(rhdf5)
library(dplyr)
library(patchwork)
library(SeuratDisk)
library(Seurat)
library(SeuratData)

Load the object:

my_file <- readRDS("path.rds")

If it is a SingleCellExperiment object, convert to Seurat:

if (inherits(my_file, "SingleCellExperiment")) {
  my_file <- as.Seurat(my_file)
}

Save as H5Seurat:

SaveH5Seurat(my_file, filename = "filename.h5seurat")

Convert to .h5ad:

Convert("filename.h5seurat", dest = "h5ad", output.path = "/.h5ad")

List of contributors

Nicolas Perrin-Gilbert

Joshua Waterfall

Pierre Fumeron

Nisma Amjad

Jason Z. Kim

Erkan Narmanli

Christopher R. Myers

James P. Sethna

Jérôme Contant

Thomas Fuks

Julien Vibert

Silvia Tulli

Philippe Martin

Metadata

Release files for yomix 1.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yomix 1.7.0
File Size Uploaded
yomix-1.7.0.tar.gz 5.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for yomix 1.7.0
File Interpreter ABI Platform
yomix-1.7.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.1 MB

Release files / yomix-1.7.0.tar.gz

Download URL yomix-1.7.0.tar.gz
Size 5.4 MB
Tags Source
SHA-256 checksum
How to use checksums
067a0c27a60ca70f0f8b9bf6736450222c03d9faed651b5616a2373a5dc2f2d3
BLAKE2b-256 checksum
How to use checksums
849f22d0941c45dc443e90ee629f5343c19e802e4895fd2f3c5d1aab67ed72a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.4

Release files / yomix-1.7.0-py3-none-any.whl

Download URL yomix-1.7.0-py3-none-any.whl
Size 5.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
a66a4aa41c6aed4f86028564ec02c500e61ef006e2246b413586417e0f5d3603
BLAKE2b-256 checksum
How to use checksums
eaaa332c922872662aa3630ad5fa150c52f2f9ae26454155934d55a2a28537c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.4

Release history Release notifications | RSS feed

This release

1.7.0 This release

2 release files

1.6.1

2 release files

1.6.0

2 release files

1.5.9

2 release files

1.5.8

2 release files

1.5.7

2 release files

1.5.6

2 release files

1.5.5

2 release files

1.5.4

2 release files

1.5.3

2 release files

1.5.2

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page