A collection of utility scripts to help with tasks related to scRNA.
- Pre/Post processing tasks.
- Visualization (Cellxgene)
- TBD
By default, r-reticulate will create a python virtualenv at ~/.virtualenv/r-reticulate
. Instead, we can create our own and manage our python dependencies separate from the default location.
python3 -m venv ./.venv
source ./.venv/bin/activate
pip install -r requirements.txt
Then in RScript
library("reticulate")
use_virtualenv("./.venv")
loompy <- reticulate::import("loompy")
seuratv5 to anndata (h5ad)
Cellxgene
cellxgene launch </path/to/myfile.h5ad>