Skip to content

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

@cesarforteslima

Description

@cesarforteslima

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions