cellBrowser icon indicating copy to clipboard operation
cellBrowser copied to clipboard

Support multiple clustering resolutions from AnnData

Open pcm32 opened this issue 4 years ago • 5 comments

Currently our Single Cell Expression Atlas AnnData files (such as http://ftp.ebi.ac.uk/pub/databases/microarray/data/atlas/sc_experiments/E-MTAB-6077/E-MTAB-6077.project.h5ad) will include multiple clustering resolutions and optionally a cell_type clustering field in the obs. Currently when run it I need to select the appropiate marker gene field in the uns and the matching resolution. It would be great if CellBrowser could display all the resolutions and grab associated marker genes, instead of having to pick one.

pcm32 avatar Apr 16 '21 10:04 pcm32

Hm, this is something that has been suggested before a few times. Matt is also for it. I'd love to add a menu option for this, like View > select cluster field. Would that work? I can't promise to work on it too soon though.

I would probably be easy to add. the only problem is to modify cbBuild to pre-compute the centroids for the cluster labels. If you don't need those, it should be very little code.

maximilianh avatar Apr 19 '21 12:04 maximilianh

We now have the 'label by annotation' feature which should allow us to display the labels for the different resolution.

@maximilianh I think the next step would be to allow one to specify multiple marker genes files, so that we can display the markers for each resolution?

matthewspeir avatar May 24 '22 18:05 matthewspeir

Yes, thanks Matt for reminding me of this. Do we already have a ticket for it? (we may have one).

The "markers" cellbrowser statement only would need another key in the list, "fieldName", which indicates the field for which the markers are active.

On Tue, May 24, 2022 at 8:13 PM Matt Speir @.***> wrote:

We now have the 'label by annotation' feature which should allow us to display the labels for the different resolution.

@maximilianh https://github.com/maximilianh I think the next step would be to allow one to specify multiple marker genes files, so that we can display the markers for each resolution?

— Reply to this email directly, view it on GitHub https://github.com/maximilianh/cellBrowser/issues/215#issuecomment-1136282302, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACL4TJDFLU7KT6JU55PZCDVLUL4XANCNFSM43BJWWWQ . You are receiving this because you were mentioned.Message ID: @.***>

maximilianh avatar May 25 '22 12:05 maximilianh

Yep, ticket here: https://redmine.soe.ucsc.edu/issues/29299

matthewspeir avatar May 26 '22 23:05 matthewspeir