Closed laleaton closed 2 months ago
Hi @laleaton,
Thanks for using my package!
Please keep in mind that you downloaded theHEAD
commit of the R package. This means that you are just currently using the R package as I am right now as the developer, it all its beauty and "bugginess" ahhahaha If you ever consider downloading the "development" versions of the package, always refer to the official Releases, which I incorporate with every CRAN update.
This said, for the next CRAN version I have refactored the SCpubr::do_DotPlot()
function entirely, removing the dependency with Seurat::DotPlot()
. This means I am no longer using the native function from Seurat
as the basis of the plot, but rather generating my own version of the dot plot. This also means that I am no longer using the scale
parameter, as this was using the Seurat
's scaling implementation. I have on my to-do list to allow for z-scoring of the values, if desired, but this is yet to be implemented. It will definitely roll out on the next CRAN update, though. Yet, this might not end up being exactly the same as with Seurat
.
I can give you a heads up when I implement it, if you want! For the time being, please revert to the CRAN version if you want to still use the scale
parameter.
I hope this was helpful! Enrique
Thank you Enrique! Yes, please do let me know when you implement scaling. I really appreciate your prompt and thorough response! Cheers, Laura Ann
Hi @laleaton,
I performed a quick implementation of the Z-scoring on a gene-basis in do_DotPlot()
. This allows to set the distribution of the Avg. Expression of a given gene across the groups so that the mean is 0 and standard deviation is 1. This allows you to quickly check which group/s have the highest avg. expression values for a given gene, but you should then avoid performing gene-wise comparisons.
This said:
scale.data = TRUE
to access this functionality. It will not work with slot = "scale.data"
.max.cutoff
and min.cutoff
to set the color scale right.Seurat
. Please be aware of that.You can access this under the latest commit. Please be aware that you are again downloading the most recent and potentially buggy version of the pacakge!
devtools::install_github("enblacar/SCpubr", ref = "af2828dbfce7a11562a0f6d3fc447122fbf66670")
Hope this helps! Enrique
-->
Bug:
Reproducible example:
Error log:
SCpubr version:
Session info: