Mir Alvee Ahmed
Mir Alvee Ahmed

Reputation: 11

excluding heatmaply row_side_colors

I'm trying to make a basic heatmap in RStudio using heatmaply. My data look like this:

enter image description here

I tried these commands:

eg <- read.delim(file="example_heatmap.txt", header=T, sep="\t")
heatmaply(
    file="heatmap_eg.png",
    height=2000, 
    eg, 
    colors=colorRampPalette(colors=c("lightblue", "darkblue")), 
    column_text_angle = 45, 
    plot_method = "plotly",
    key.title = "Ab", 
    labRow = eg[,1]
)

The output:

enter image description here

Now, in the output figure, I don't want the color bars at each row. I tried different options but couldn't get rid of the color bars from the rows. I want my output like the following one:

enter image description here

Please help. All your feedbacks are highly appreciated. Thanks, Alvee

Upvotes: 1

Views: 315

Answers (0)

Related Questions