jokergoo / circlize

Circular visualization in R
http://jokergoo.github.io/circlize_book/book/
Other
959 stars 141 forks source link

Data won't plot using circos.genomicHeatmap #382

Closed 09herbej closed 8 months ago

09herbej commented 8 months ago

I fixed it by removing the border function that seemed to be obscuring the data for some reason, new code:

Create seq for colour palette

seq <- seq(min(gc_data$gc), max(gc_data$gc), length.out = 3)

Create colour function palette

col_fun <- colorRamp2(seq, c("white", "greenyellow", "green4"))

Create heatmap of GC content

circos.genomicHeatmap(gc_data, connection_height = NULL, numeric.column = "gc", col = col_fun, na_col = "grey", heatmap_height=0.15)