Coder Social home page Coder Social logo

Comments (7)

enblacar avatar enblacar commented on September 27, 2024 1

Hi @frac2738,

Great news! Happy that it worked.

I will close this issue now. Please feel free to open a new issue if you encounter anything else. Given how obscure this error was to my checks, I could foresee other similar ones popping up in other functions. If you encounter them, I would really appreciate if you let me know!

Best,
Enrique

from scpubr.

enblacar avatar enblacar commented on September 27, 2024

Hi @frac2738,

Thank you for bringing this up! Let me have a quick look and get back to you!

Enrique

from scpubr.

enblacar avatar enblacar commented on September 27, 2024

Hi @frac2738,

This seems to be an odd bug that somehow it is not showing up in my environment. I might need some time to further delve into it and see what is breaking on another environment that reproduces the bug.

Before that, could I ask you to quickly download the latest commit from GitHub and check again if legend titles are still missing?

devtools::install_github("enblacar/SCpubr", ref = "488c3aadd9876eb404cbdb80c844049fda67ca02")

Thanks a lot! Will keep you updated on this.
Enrique

from scpubr.

frac2738 avatar frac2738 commented on September 27, 2024

Hi @enblacar,
thanks for taking the time to looking into this bug.

I upgrade the version I had to the last commit (SCpubr_2.0.2.9000), and the behaviour did not change

exp_Integrated <- readRDS("int_B-only.Rds") 
b_markers <- read.csv("B_markers.txt")
do_FeaturePlot(exp_Integrated, features = b_markers$IG_genes, legend.position = "right") 

image

from scpubr.

enblacar avatar enblacar commented on September 27, 2024

Hi @frac2738,

Interesting. Even if I download the CRAN version, it works fine within my system environment. I will have to delve into this with some more time. Thanks again for bringing this up and for the help!

Enrique

from scpubr.

enblacar avatar enblacar commented on September 27, 2024

Hi @frac2738,

I have committed a hotfix that probably solves the issue. To be honest, this was a rather hard to reproduce bug, as it only happened in some devices while in others not (also tested in other colleague's RStudio sessions).

Could you please give it a go downloading SCpubr with the latest commit and let me know if this fixed your issue? If so, it will roll out in the next update of SCpubr.

devtools::install_github("enblacar/SCpubr" ref = "e9eace273bec3e6518f82a091378bc2e380e5489")

Looking forward to the answer!
Enrique

from scpubr.

frac2738 avatar frac2738 commented on September 27, 2024

I will do more testing in the coming days, but it seems to work now.

> do_FeaturePlot(exp_Integrated,c("CD8A","CD3E"),
+                order = TRUE, viridis.palette = "D",use_viridis = TRUE,
+                viridis.direction = -1, legend.position = "right", legend.length = 8)

image

Thank you for fixing it this quickly!

from scpubr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.