Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How is the ad_rna_annotate.h5ad file generated? #26

Open
gaoxiangcao opened this issue Oct 14, 2024 · 1 comment
Open

How is the ad_rna_annotate.h5ad file generated? #26

gaoxiangcao opened this issue Oct 14, 2024 · 1 comment

Comments

@gaoxiangcao
Copy link

Hi ,

I’m working with scBasset and wanted to ask how the ad_rna_annotate.h5ad file is generated. Could you briefly explain the main steps, including any preprocessing or annotations, and the tools/scripts involved?

@hy395
Copy link
Collaborator

hy395 commented Oct 14, 2024

Hi,

The goal of ad_rna_annotate.h5ad is just to show embedding, cell type annotation, and gene expression. My processing is basically:

  1. run scvi to get cell embeddings;
  2. sc.tl.leiden(resolution=0.5) to get clusters;
  3. sc.tl.rank_genes_groups to get top marker genes per cluster;
  4. annotation cell type basic on marker genes;

You can also follow scanpy tutorial to process the scRNA data:
https://scanpy.readthedocs.io/en/stable/tutorials/basics/clustering-2017.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants