trackViewer.documentation icon indicating copy to clipboard operation
trackViewer.documentation copied to clipboard

setViewport error, legend

Open csmatyi opened this issue 1 year ago • 1 comments

Hello,

I try to run lolliplot:

lolliplot(sample.gr, exons, ylab=FALSE, legend = mut_legend_impact) Error in grid.Call.graphics(C_setviewport, vp, TRUE) : non-finite location and/or size for viewport

I don't want it to draw a legend showing the names of the features, but I do want it to draw a legend defined in mut_legend_impact:

mut_legend_impact <- 1:4 names(mut_legend_impact) <- c("LOW","MODERATE","MODIFIER","HIGH")

Can anyone help? Thanks! :)

csmatyi avatar Sep 14 '22 19:09 csmatyi

I am not sure i understand your comment. Could you please show me the screenshot?

jianhong avatar Sep 15 '22 11:09 jianhong