Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7932813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T21:07:52+00:00 2026-06-03T21:07:52+00:00

Which package is best for a heatmap/image with sorting on rows only, but don’t

  • 0

Which package is best for a heatmap/image with sorting on rows only, but don’t show any dendrogram or other visual clutter (just a 2D colored grid with automatic named labels on both axes). I don’t need fancy clustering beyond basic numeric sorting. The data is a 39×10 table of numerics in the range (0,0.21) which I want to visualize.

I searched SO (see this) and the R sites, and tried a few out. Check out R Graphical Manual to see an excellent searchable list of screenshots and corresponding packages.

The range of packages is confusing – which one is the preferred heatmap (like ggplot2 is for most other plotting)? Here is what I found out so far:

  • base::image – bad, no name labels on axes, no sorting/clustering
  • base::heatmap – options are far less intelligible than the following:
  • pheatmap::pheatmap – fantastic but can’t seem to turn off the
    dendrograms? (any hacks?)
  • ggplot2 people use geom_tile, as Andrie points out
  • gplots::heatmap.2 , ref – seems
    to be favored by biotech people, but way overkill for my purposes. (no
    relation to ggplot* or Prof Wickham)
  • plotrix::color2D.matplot also exists

base::heatmap is annoying, even with args heatmap(..., Colv=NA, keep.dendro=FALSE) it still plots the unwanted dendrogram on rows.

For now I’m going with pheatmap(..., cluster_cols=FALSE, cluster_rows=FALSE) and manually presorting my table, like this guy: Order of rows in heatmap?

Addendum: to display the value inside each cell, see: display a matrix, including the values, as a heatmap . I didn’t need that but it’s nice-to-have.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T21:07:54+00:00Added an answer on June 3, 2026 at 9:07 pm

    With pheatmap you can use options treeheight_row and treeheight_col and set these to 0.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Which open-source package is the best for clustering a large corpus of documents? It
Which Eclipse package should I choose for Python development with PyDev ? Nothing on
I have simple SSIS package which reads data from flat file and insert into
i have an ssis Package which runs on business days (mon-Fri). if i receive
If I have a java class which is package-private (declared with class, not public
I have a relatively big SSIS package which I'm trying to edit. I basically
I'm working on a LaTeX package which might need to do some things differently
I was going through this sample package which Google has provided with it's sdk.
I start a project MyFileChooser which contains package com.MyFileChooser.In my Project i have a
I'm looking for a an R package which can be used to train a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.