We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have managed to make a plot, but when I try to make the colors conditional I get the following error. Any advice?
Error: The length of col (309) should be equal to 1 or the number of your data column (2).
col
code: circos.par(gap.degree = c(rep(1,22),20)) circos.genomicInitialize(cod_chromInfo) circos.genomicTrackPlotRegion(densDUP, ylim = c(1, max(densDUP$DUP_count)), panel.fun = function(region, value, ...) { circos.genomicPoints(region, value, col = ifelse(value[[1]] < 22, "#FFD92F", "#377EB8"), cex = 0.5, pch = 16) }) circos.yaxis(side = "right", at = seq(0, 750, by = 100))
circos.par(gap.degree = c(rep(1,22),20)) circos.genomicInitialize(cod_chromInfo) circos.genomicTrackPlotRegion(densDUP, ylim = c(1, max(densDUP$DUP_count)), panel.fun = function(region, value, ...) { circos.genomicPoints(region, value, col = ifelse(value[[1]] < 22, "#FFD92F", "#377EB8"), cex = 0.5, pch = 16) }) circos.yaxis(side = "right", at = seq(0, 750, by = 100))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have managed to make a plot, but when I try to make the colors conditional I get the following error. Any advice?
Error: The length of
col
(309) should be equal to 1 or the number of yourdata column (2).
code:
circos.par(gap.degree = c(rep(1,22),20)) circos.genomicInitialize(cod_chromInfo) circos.genomicTrackPlotRegion(densDUP, ylim = c(1, max(densDUP$DUP_count)), panel.fun = function(region, value, ...) { circos.genomicPoints(region, value, col = ifelse(value[[1]] < 22, "#FFD92F", "#377EB8"), cex = 0.5, pch = 16) }) circos.yaxis(side = "right", at = seq(0, 750, by = 100))
The text was updated successfully, but these errors were encountered: