Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

major.tick.percentage is not used any more #16

Open
cesarforteslima opened this issue Nov 16, 2021 · 1 comment
Open

major.tick.percentage is not used any more #16

cesarforteslima opened this issue Nov 16, 2021 · 1 comment

Comments

@cesarforteslima
Copy link

Hi,
I was using shinyCircos like two weeks ago, and I'm now getting this error message and I cannot plot anything anymore.

major.tick.percentage is not used anymore, please directly use the argument major.tick.length.

I think the error is from the function below but I'm not sure.

circos.genomicInitialize.new <-
function (data, sector.names = NULL, major.by = NULL, unit = "", plotType, tickLabelsStartFromZero = TRUE, track.height = 0.05,
...)

                                  if(all(c("axis", "labels") %in% plotType)){
                                    circos.axis(h = 0, major.at = major.at, labels = major.tick.labels, 
                                                labels.cex = 0.49 * par("cex"), labels.facing = "clockwise", 
                                                **major.tick.percentage** = 0.2)
                                    circos.text(mean(xlim), 1.2, labels = sector.names[sector.index], 
                                                cex = par("cex")-0.1, adj = c(0.5, -0.1*par("cex")*6-(par("cex")-1)*3), niceFacing = TRUE)
                                  }
                                  else if("labels" %in% plotType){
                                    circos.text(mean(xlim), 0, labels = sector.names[sector.index], 
                                                cex = par("cex")-0.1, adj = c(0.5, -0.1*par("cex")*6-(par("cex")-1)*3), niceFacing = TRUE)
                                  }
                                  else if("axis" %in% plotType){
                                    circos.axis(h = 0, major.at = major.at, labels = major.tick.labels, 
                                                labels.cex = 0.49 * par("cex"), labels.facing = "clockwise", 
                                                **major.tick.percentage** = 0.2)

Thanks in advance for your help.

Best,
Cesar

@choman-star
Copy link

Hi Cesar, did you ever get a fix for this? I have started having the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants