tanaylab / metacells

Metacells - Single-cell RNA Sequencing Analysis
MIT License
86 stars 8 forks source link

Metadata Attribution for scRNAseq Metacells #45

Closed fadichoucha closed 1 year ago

fadichoucha commented 1 year ago

Hello,

I have a question regarding the use of metadata for scRNAseq with the newly generated metacells. I recently used Metacells V0.8 to generate the metacells, and then I converted the results to v0.9. In an attempt to visualize and edit the annotation of the results, I used MCView (v0.2.9.9). While I didn't encounter any issues with cell types, I'm currently struggling to attribute metadata information, such as the Tumor sample, to the new metacells (see attached fig, at the bottom: Tumor clustering). I would appreciate any information or ideas on how to accomplish this.

Thank you for your help.

Gene modules Heatmap

orenbenkiki commented 1 year ago

Do you mean how to transfer annotation metadata (such as cemm type annotation) from the old metacells to the new ones?

One way could be to:

This isn't "great" but it would give you a starting point. You would still need to review the per-new-metacell annotations and correct them where necessary.

fadichoucha commented 1 year ago

@orenbenkiki thank you for your response.

I need to transfer annotation metadata from cells meatdata to new metacells.

From your answer I think _convey_obs_togroup would help me for that.

orenbenkiki commented 1 year ago

Yes, that's the one.