similar to: Using data stored in a file for a heatmap

Displaying 20 results from an estimated 2000 matches similar to: "Using data stored in a file for a heatmap"

2012 Aug 20
1
Colour gradients and colour fill between points
Hello, Can somebody help me on a colour question? I have a levelplot made with the following syntax: library(lattice) inp <- read.csv("hoenne1", header = TRUE) levelplot(z~x*y, data = inp, region = TRUE, pretty = TRUE, col.regions = terrain.colours) The file "hoenne1" contains the data. I'll give a short example: x,y,z 0,0,1 0,1,1 0,2,1 1,0,2 1,2,2 0,2,2 1,2,3 2,2,2
2012 Jul 02
3
carpet plots
Hi all, I wonder why there is so little software for carpet plots (german: Rasterdiagramm) (Three dimensional plot (x, y, z), the 3rd dimension (z) symbolized by colourgradients). Besides from one or the other non free software I only found an OpenOffice macro, a combination of Gnuplot and Excel (an Excel macro calling gnuplot) (http://www.johannes-hopf.de/2009/12/carpet-plot-version-1-3/9 and
2002 Nov 07
3
Rcmd? Where?
Hello, I got R 1.6.0 for windows and I need Rcmd, which was not included. Where can I get it? (I have to start R and give the name of the file with the R-commands on the command line, so that R is invoked together with its command-file "todo.R". Do I really need Rcmd for that? To write "Rterm todo.R" did not work.) Richard -- Richard M?ller - Am Spring 9 - D-58802
2007 Dec 29
3
tcltk again
Hello, the admonition of Prof. Ripley to search the documentation to solve my problem helped, today I read a lot more on Tcl/Tk than before ;-) But now I'm stuck again. With the help of my script some functions are plotted on the display, then I ask if the user wants to save it as pdf. In windows I use winDialog and it works. But I can't succeed in Linux. In short:
2006 Sep 05
2
winDialog UNIX equivalent?
Hi all, I'm using winDialog and winDialogString in scripts running on a XP-machine. Since we're using some Linux-machines (Suse 10.0 and 10.1 on x86) I'm interested in equivalents of the above functions usable under Linux-OS. Are there any? Thanks, Richard -- Richard Müller - Am Spring 9 - D-58802 Balve-Eisborn www.oeko-sorpe.de [[alternative HTML version deleted]]
2012 Sep 08
1
Thanks for helping - back to the community?
DeaR R-fellows, I got a lot of help from you concerning the generation of heat maps, so I was able to write and work with a script for this purpose at last. Some visitors of our Ecological Station asked about the generation of the graphs and so I decided to write down a small description. Is it adviseable to publish the link to the article in an R-wiki (which?) so I can give back a little to the
2012 Aug 23
1
Origin of coordinate system
Dear R-community, In graphical representations of findings concerning bodies of standing water (lakes e.g.) in x-y-plots you often make use of a somewhat different definition of coordinates in a cartesian system: the origin is top-left, the x-axis (depth of the water body) from top to bottom and the f(x)-axis from left to right, so you can project the graphical representation of data in your
2013 Feb 05
2
duplicate data
Hello, I have a long list of x-, y- and z-data and try to generate a heatmap. Obviously there are several data with identical x- and y-values. I get the following error message: Error in interp.old(x, y, z, xo = xo, yo = yo, ncp = 0, extrap = extrap, : duplicate data points: need to set 'duplicate = ..' Unfortunately there seems no help screen on "duplicate". I'd prefer
2004 Jul 05
1
Behaviour of R with win98 and XP?
Dear list, I encounter a strange problem: I hav R (1.6.1) installed on a notebook with winXP-Prof and a similar installation (same path names etc.) on a desktop computer with W98. I use rcmd BATCH filename to display graphs from the data stored in filename. With R on my notebook everything works fine. I have the same data, the same filenames, the same paths on th w98-computer. Here I see just a
2007 Jan 31
1
can't find mailing list commands
Sorry for inconvenience - but since I can't find any hints on this list at stat.ethz.ch, I'll ask here: How do I unsubscribe from this list? Thanks for answering - Richard -- Richard M?ller - Am Spring 9 - D-58802 Balve-Eisborn www.oeko-sorpe.de
2004 Jul 07
7
Importing an Excel file
Hello, R users, I am a very beginner of R and tried read.csv to import an excel file after saving an excel file as csv. But it added alternating rows of fictitious NA values after row number 16. When I applied read.delim, there were trailing several commas at the end of each row after row number 16 instead of NA values. Appreciate your help. Kyong [[alternative HTML version deleted]]
2002 Nov 10
1
graphics window closes after invoking
Hi, I hope this is my last stupid question for this project. I run (WinXP) Rcmd* BATCH ToDo.R and want the produced graph to be seen on the display. But after a part of a second the graphics window is closed again. I suppose, because Rcmd does not work interactive, there will be no command like "wait for key pressed" or similar. Is there a possibility to let the window open as long
2002 Nov 03
1
continuous lines?
Good evening, I can't manage to plot continous lines (x-y representation of measured data): The spreadsheet where the data come from has continuous x-data (0,1,2,3,4, ...), but not every x-datum has a corresponding y-datum. At these "gaps" the graph is not displayed. I want to display the measured data with points, joined by a line ("type=b"), even if there are gaps. Is
2002 Nov 17
1
position of windows-dialogue
Hello all, to interrupt a BATCH program I inserted, as adviced in this list, a windows dialogue box (winDialog("ok")). The graphic display opens on the right part of the screen, which is OK. The Windows dialoge opens in the center of the screen and hides a part of the graphics window. Is it possible to determine the coordinates where the Windows dialogue box opens? I'd like to
2008 Jan 02
2
how to ignore or omit somethings while reading the data table
hello respected ppl... am a engg. student...i was trying to use R in statistical calculations now the problem is..i imported a huge tsv file onto R...it has a column which gives cost...and it has "$" with each numerical value in this column...it is something like this..$.05,$.1,$.075...and so on.. R is reading it as "character vector"... i tried using all the arguments but
2007 Dec 28
4
Return Value of TCl/Tk window in R
Hello, I have the TCl/Tk command "tkmessageBox(titel="",message="x",icon="question",type="okcancel")" in my R script. Now I want to perform some operation in relation to the user's choice, something like "if (okpressed) xxx else yyy" What values does this command give and how are they used? Thank you, Richard -- Richard M?ller -
2009 May 05
3
Heatmap without levelplot
Hi there, as I'm not sure to understand the coloring levelplot uses, I'm looking for another easy way to create a heatmap like this: library(lattice) mat <- matrix(seq(1,5, length.out = 12), nrow = 3) mat[1,2] <- 3.5 my.at <- seq(0.5,5.5, length.out = 6) my.col.regions <- rainbow(5) graph <- levelplot(t(mat[nrow(mat):1, ] ), at = my.at, col.regions = my.col.regions)
2009 Jan 26
2
heatmap with levelplot
Hi there, I'd like to create a heatmap from my matrix with a) a defined color range (lets say from yellow to red) b) using striking colors above and below a certain threshold (above = "green", below = "blue") Example matrix (there should be a few outliers generated...) + simple levelplot without outliers marked: library(lattice) my.mat <- matrix(rnorm(800), nrow =
2006 Dec 22
1
heatmap with levelplot?
Hi, How do I anchor z=0 to the white color in a levelplot so that the color changes from cyan to magenta precisely as z changes from negative to positive? Also is it easy to change color scheme, say to blue/red as it's more dramatic? Is there a better function for showing heatmap with a color bar? Thanks in advance for any help, I've played with image, heatmap and levelplot a little and
2008 Sep 25
2
levelplot/heatmap question
Hello! I have data containing a large number of probabilities (about 60) of nonzero coefficients to predict 10 different independent variables (in 10 different BMA models). i've arranged these probabilities in a matrix like so: (IV1) (IV2) (IV3) ... p(b0) p(b0) p(b0) p(b1) p(b1) p(b1) p(b2) p(b2) p(b2) ... where p(b1) for independent variable 1 is p(b1 !=