[R] problem with heatmap.2

From: Ng Stanley <stanleyngkl_at_gmail.com>
Date: Fri, 15 Feb 2008 16:49:02 +0800


Hi,

> temp1[1:6,]

    AAAA_XXX BBBBBB_XXX CCCCC_XXX DDDDD_XXX EEEEE_XXX SkHep1_XXX

50    0.75285     0.30630  0.56330  0.45755  0.49665    0.74685
63    0.35930    -0.22725  0.04725  0.53955  0.56390    0.51170
69   -1.57515    -1.67610 -1.61695 -1.11685 -0.00085   -1.89155
91    0.84640     0.43595  0.62350  0.46645  0.09430    1.03985
136   0.42050     0.42340  0.61730  0.13950 -0.57600    0.82470
137   0.40290     0.35105  0.52040  0.00340  0.15235    0.35650

> heatmap.2(temp1[1:6,])

Error in heatmap.2(temp1[1:6, ]) : `x' must be a numeric matrix

What causes the error, and how to resolve ?

        [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 15 Feb 2008 - 08:52:52 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 15 Feb 2008 - 09:30:13 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive