enblacar / SCpubr

Generate high quality, publication ready visualizations for single cell transcriptomics data.
https://enblacar.github.io/SCpubr-book/
GNU General Public License v3.0
157 stars 12 forks source link

label.font only works for legend but not for labels shown on umap #76

Closed TdzBAS closed 2 months ago

TdzBAS commented 2 months ago

HI @enblacar,

thanks again for this wonderful tool! I would like to request a new feature. If I pass the argument label= T and label.font = "mono" for instance, it only affects the font style of the legend but not the labels shown on the umap plot. It would be great if you could change this!

Best, Tolga

enblacar commented 2 months ago

Hi @TdzBAS,

Thanks again for using my package!

I have fixed the bug, and will roll out on the next update. Also fixed it in do_FeaturePlot().

In the meantime, you can access it through the following github commit:

devtools::install_github("enblacar/SCpubr", ref = "709734da4c41f0b1e39f2588a89bd62368fd70fc)

Best, Enrique

TdzBAS commented 2 months ago

Hi @enblacar,

thanks for the fast response!

Unfortunately I receive this error, after installing the recommend branch: image

Any ideas? Best, Tolga

enblacar commented 2 months ago

Hi @TdzBAS,

Sorry for the wait! There was a typo in the code, my bad. It should be fixed now!

devtools::install_github("enblacar/SCpubr", ref = "1460f59720ea4b3cf3cca50bc2bbb8e4107d1949")

Best, Enrique

enblacar commented 2 months ago

Use this commit instead!

devtools::install_github("enblacar/SCpubr", ref = "3d7a80812ceb54ea1b5bb6d74cb316583d3f5346")