Can I using scVI to integrate data, then using R to conduct following analysis?
2
0
Entering edit mode
8 months ago
Andy ▴ 120

Hello everyone,

I am wondering if I could use Python to integrate my data and then use R to conduct downstream analysis, such as CellChat, etc.

Thank you,
Andy

R python single-cell • 961 views
ADD COMMENT
1
Entering edit mode
8 months ago
bk11 ★ 2.4k

Can you please tell us what type of data are you planning to integrate? You can also use scVI to integrate single cell data in R using Seurat package. You need is scVI-environment in conda.

       Seurat_object <- IntegrateLayers(
      object = Seurat_object, method = scVIIntegration,
      new.reduction = "integrated.scVI",
      conda_env = "../miniconda3/envs/scvi-env", verbose = FALSE
    )

https://satijalab.org/seurat/articles/seurat5_integration

ADD COMMENT
0
Entering edit mode

Thank you. But my data is huge. This is why I use python. After integration I want to use R for the further analysis. Thanks for your sharing.

ADD REPLY
1
Entering edit mode
8 months ago
fracarb8 ★ 1.6k

There is an entire section on scVI documentation about running it through reticulate.

ADD COMMENT

Login before adding your answer.

Traffic: 1531 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6