zktuong / ktplots

Some tools for plotting single-cell data
https://zktuong.github.io/ktplots/
MIT License
157 stars 30 forks source link

problem in plot_cpdb #88

Closed GGboy-Zzz closed 4 months ago

GGboy-Zzz commented 8 months ago

Hi, I met a problem with the function "plot_cpdb", Its parameter "cell_type1" or "cell_type2" accepts regex pattern. Can I avoid this regex pattern to specify a unique cell_type?

zktuong commented 8 months ago

you can be specific with your regex e.g. ^Tcell$- this would then force it to look for only Tcell. as long as you name your celltypes uniquely. if not, i would suggest for you to insert a unique pattern into your celltype annotations and rerun cellphonedb.

stale[bot] commented 4 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.