biocircossnptrack function in biocircos library
0
0
Entering edit mode
4.8 years ago

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 • 842 views
ADD COMMENT
1
Entering edit mode

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.

ADD REPLY

Login before adding your answer.

Traffic: 1619 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6