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

loss synteny blocks #180

Open
PengfeiInTuebingen opened this issue Jan 6, 2025 · 0 comments
Open

loss synteny blocks #180

PengfeiInTuebingen opened this issue Jan 6, 2025 · 0 comments

Comments

@PengfeiInTuebingen
Copy link

Hi,

Thank you for developing such a useful tool. Recently, I encountered an issue while generating a riparian plot. When using the whole genome, I lose most of the synteny blocks (see image below).
image

Interestingly, I do get the synteny blocks when I highlight a specific chromosome (see image below).
image,

Do you have any suggestions on how to resolve this issue?

The code for plot i used

ripDat <- plot_riparian(
  gsParam = gsParam, 
  #palette = customPal,
  braidAlpha = .75,
  invertTheseChrs = invchr,
  refGenome = "561",
  genomeIDs = c("P7","P6","P5","P4","P3","P2","P1"),
  syntenyWeight = 1,
  addThemes = ggthemes,
  chrFill = "lightgrey",
  useOrder = FALSE, 
  forceRecalcBlocks = FALSE)



roi <- data.frame(
  genome = c("P2"),
  chr = c("chr_25"), 
  color = c("#97d1d9"))

ripDat <- plot_riparian(
  gsParam = gsParam, 
  highlightBed = roi, 
  #backgroundColor = NULL, 
  invertTheseChrs = invchr,
  palette = customPal,
  refGenome = "561",
  genomeIDs = c("P7","P6","P5","P4","P3","P2","P1"),
  syntenyWeight = 1,
  addThemes = ggthemes,
  chrFill = "lightgrey",
  useOrder = FALSE)

Best,

PF

@PengfeiInTuebingen PengfeiInTuebingen changed the title loss synteny loss synteny blocks Jan 6, 2025
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

1 participant