Skip to content

Is there a way to set a min/min values for the color bar?  #15

@shenmaya

Description

@shenmaya

I am creating heatmaps for multiple matrices and would like to be able to compare them easily. However, the mins and maxes of these matrices are different so the color bar minimum and maximum values are different across heatmaps. Is there a way to set the minimum and maximum values for the color bar manually?

My code is pretty simple but this is all I'm doing now.

heatmap3(X, Rowv=NA, Colv=NA, useRaster=TRUE, scale='none',
         col=colorRampPalette(c("blue", "white", "red"))(1024))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions