Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Transforming Clusters into a Color Map

0 views
Skip to first unread message

Lemniscate

unread,
May 29, 2002, 6:24:35 PM5/29/02
to
Hi all,

I have recently been asked to write a program that will operate on
huge arrays of numbers. As such, I have quickly immersed myself in
Numeric. Things are going well (Numeric, in my experience, is
extremely effective and relatively easy to learn).

However, I've been informed that I need to 'color map hotspots' in the
results. For example, my boss wants me to transform the results (of,
for example, standard deviations run across each array) and then
cluster them by color (I can explain more if anybody needs it).

There are a few programs that do this but they all have propriety
formatting of the results (which precludes some of the things we want
to do) and limits onto the types of comparisons that can be done.
Ideally, we would want our own implementation that we could use in any
way we wanted.

There isn't alot of support for this type of programming at my
company, so the hope is that I can get a 'minimally' functional
prototype so we can see what can be done.

From the people I've talked with, color-maps like these are actually
fairly common, so I was hoping that somebody could point me in the
right direction (maybe a module already exists to do this that
interfaces with Numeric, etc.) I'm doing some searches but I'm not
having a whole lot of luck (right now, I am going through stuff like
"Numeric Color" etc. Thanks a bunch.

Lem

Tim Churches

unread,
May 29, 2002, 6:32:01 PM5/29/02
to

Take a look at the R package - see http://www.r-project.org
in particular the screenshots page - there is a nice "heat map" of
a volcano at the bottom of the page.

You can transfer your data to R via delimited text files, but if you
are using Unix or Linux, then have a look at Walter Moreira's RPy module
(see http://rpy.sourceforge.net ) which embeds R in Python and allows
NumPy arrays and other Python data structures to be transparently
transferred into the R environment (and acted upon there).

Tim C


Lemniscate

unread,
Jun 20, 2002, 4:23:01 PM6/20/02
to
Thanks a bunch, I am working on it right now. Actually, though, I was
wondering if I could ask you another question. The kind of heatmap I
want is a bit different than the screenshot. It is more like a
patchgrid (if you go to
http://www.cs.uml.edu/~mtrutsch/research/High-Dimensional_Visualizations-KDD2001-color.pdf
and go to section 3.3, you'll see a definition (and example) of a heat
maps, in the way I am using the word. It's more like a spreadsheet
with colors instead of numbers. I don't know if that makes it easier
or harder. I'm sorry if I seem a bit dense on the subject but I have,
thus far, only used programs as ways in which to process data, not
actually display it in such a format. I would think it would be
simple, but I know that I have a ton to learn, so it could be simple
or very complex. Thanks a bunch,

Lem


Tim Churches <tc...@optushome.com.au> wrote in message news:<mailman.102271252...@python.org>...

0 new messages