Skip to content
Prev 3981 / 7420 Next

Heat Map for species - code from Numerical Ecology with R

Vegemite is vegemite because it is so condensed. It is condensed because it uses only one column for data and no separators between columns. If you want to print your full data, just do so. You do not need any fancy functions for the purpose. If you want to reorder your data, learn how to use row and column indices. For vegemite you need one-character scaling, and vegemite provides some popular alternatives. You are not limited those, nor to numeric characters, but you can roll your own.

If you do not provide one-character data, vegemite gives an error message that is intended to be informative: it says what was the problem, and suggests what to do (use scale). See ?vegemite.

Vegan provides an interface to standard graphical heatmap. This sister of vegemite is called tabasco (because it is also condensed but hotter than vegemite). It takes any non-negative data, but you may need scaling to see shades of colours. Names can also be unreadable in large tables. Fixes are welcome. I think ade4 may have something similar.

Cheers, Jari Oksanen
---- alkuper?inen viesti ----
L?hett?j?: Basil Iannone
L?hetetty:  24.07.2013, 14:57
Vastaanottaja: Sarah Goslee
Kopio: r-sig-ecology at r-project.org
Aihe: Re: [R-sig-eco] Heat Map for species - code from Numerical Ecology with R

Valarie,

I too ran across this problem. vegmite operates on data with a single digit
such as Braun-Blanquet cover estimates. Thus vegemite command will not work
on data such as environmental data or biomass data unless you convert it to
a single digit, causing you to loose a lot of information. So in short,
vegmite is a method used to compile and arrange single digit cover
estimates into a table. If you find a similar function that works on other
kinds of data, please let me and the other R users know.

And someone please correct me if my assessment of the situation is
incorrect.
On Wed, Jul 24, 2013 at 6:14 AM, Sarah Goslee <sarah.goslee at gmail.com>wrote:

            
--
Basil V. Iannone III, Ph.D.
University of Illinois at Chicago
Department of Biological Sciences (MC 066)
845 W. Taylor St.
Chicago, IL  60607-7060
Email: bianno2 at uic.edu
Phone: 312-355-0987
Fax: 312-413-2435
http://www2.uic.edu/~bianno2


_______________________________________________
R-sig-ecology mailing list
R-sig-ecology at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-ecology