This is a test version of Biostars. For the public version, visit https://www.biostars.org.
biocircossnptrack function in biocircos library

Hi, I run the following code and get the plot attached. my question is why all points are located at the left edge of tracks. why they don't spread in tracks?

tracklist = BioCircosSNPTrack('mySNPTrack', points_chromosomes, points_coordinates, 
                          points_values, colors = c("tomato2", "darkblue"), minRadius = 0.5, maxRadius = 0.9)

tracklist = tracklist + BioCircosBackgroundTrack("myBackgroundTrack", 
                                             minRadius = 0.5, maxRadius = 0.9,
                                             borderColors = "#AAAAAA", borderSize = 0.6, fillColors = "#B3E6FF")  

BioCircos(tracklist, genome = "hg19", 
      genomeFillColor = "PuOr",
      chrPad = 0.05, displayGenomeBorder = FALSE, yChr =  FALSE,
      genomeTicksDisplay = FALSE,  genomeLabelTextSize = 18, genomeLabelDy = 0)

the points_coordinates are these :

 87807  89279  99353 100956 104754

the plot is in this link : https://ibb.co/pKDxdNX

r snp

Guessing: the values you provide are so small compared to the chromosome widths that it appears as if zero. Try to assign some bigger numbers like middle of chromosome width, and see if it still stays on the left.

0 answers

No answers yet.

Log in to answer this question.