Closed 09herbej closed 8 months ago
I fixed it by removing the border function that seemed to be obscuring the data for some reason, new code:
seq <- seq(min(gc_data$gc), max(gc_data$gc), length.out = 3)
col_fun <- colorRamp2(seq, c("white", "greenyellow", "green4"))
circos.genomicHeatmap(gc_data, connection_height = NULL, numeric.column = "gc", col = col_fun, na_col = "grey", heatmap_height=0.15)
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)