Displaying 20 results from an estimated 200 matches similar to: "Heat map in R"
2011 Aug 08
1
heatmap is producing unwanted horizontal and vertical lines?
Hello,
I must start by saying that I am an R novice and am sorry if this is a no-brainer...
I have an csv file that contains a grid of 300x300 data points. Each point represents
a 1Km square on a map. Each point is either a floating point number or NA. I load the
data in with:
data <- read.csv("matrix.csv", sep=',')
Convert the data to a matrix with:
data_matrix <-
2012 Oct 11
0
Ptak and Candpara
Hi,
I am using the package PTAK and in particular the command Candpara to
perform the Parafac factorizationor of a tensor.
The results are not encouraging as I expected, I'm starting a phase of
analysis to see if there are errors.
I pose a question and I hope you can help me.
The command to run the factorization is:
## CANDECOMP/PARAFAC
results<- CANDPARA(data_matrix, dim=3)
2012 Nov 07
1
Issues with Heat Map Images
Hello,
I have a large data set from RNA sequencing and I am trying to make a heat
map of my data. I have am having issues formatting my heat map figure. My
data set is large with the log2 fold change for over 6oo genes across 4
treatments. My csv file is formatted as such:
Gene Drought Ozone
Temp1 Temp2
Glyma0041s00260
2009 Jul 09
2
correct way to subset a vector
Hi,
#make example data
dat <- data.frame(matrix(rnorm(15),ncol=5))
colnames(dat) <- c("ab","cd","ef","gh","ij")
If I want to get a subset of the data for the middle 3 columns, and I
know the names of the start column and the end column, I can do this:
mysub <- subset(dat,select=c(cd:gh))
If I wanted to do this just on the column names,
2011 Mar 15
2
Calculate monthly means
I am trying to calculate monthly means by year of phosphates and nitrates from a multi year data set. Can anybody help me out with the most effective way to do this?
My data looks like this:
Collection_Date Test.Name Value
2000-01-24 17:00:00 Phosphate 0.108
2000-01-24 17:00:00 Nitrate 0.037
2001-11-12
2008 Jan 23
3
help with replacing all comma in a data frame with a dot
Dear list,
I have imported a spss data file in R, where a comma is used to separate the decimal numbers, e.g. 3,567 instead of 3.567 as in R. How can I replace the comma with a dot for all values in the data frame
>kk
a b c d e f
1 ,0925199910320613 82523 8 ,855 ,803 ,69
2 ,278314161923372 91657 26 1,285 1,032 ,823
3
2008 Nov 06
2
Fwd: SWIG with R and C++ STL
Hi, all
I didn't get any response from swig for my question.
see if I can get some help here
Thanks
---------- Forwarded message ----------
From: charlie <charlie.xia.fdu@gmail.com>
Date: Tue, Nov 4, 2008 at 1:55 PM
Subject: SWIG with R and C++ STL
To: swig-user@lists.sourceforge.net
Hi all,
I am new to SWIG. I encountered some problem when I try to SWIG to R some
C++ modules.
Here
2013 Oct 17
4
Subseting a data.frame
Dear Forum,
I have a data frame as
mydat = data.frame(basel_asset_class = c(2, 8, 8 ,8), defa_frequency = c(0.15, 0.07, 0.03, 0.001))
> mydat
basel_asset_class defa_frequency
1 2 0.150
2 8 0.070
3 8 0.030
4 8 0.001
I need to get the subset of this data.frame where no of records for the
2013 Oct 17
4
Subseting a data.frame
Dear Forum,
I have a data frame as
mydat = data.frame(basel_asset_class = c(2, 8, 8 ,8), defa_frequency = c(0.15, 0.07, 0.03, 0.001))
> mydat
basel_asset_class defa_frequency
1 2 0.150
2 8 0.070
3 8 0.030
4 8 0.001
I need to get the subset of this data.frame where no of records for the
2004 Dec 02
3
R and Fortran in Windows
I just joined the list and appologize if this has been answered before
but I am trying to interface between R and the Compaq Visual Fortran
compiler version 6.6 for Windows.
I found the following instructions on the web -- and an example. When I
follow these directions exactly. R 2.0.0 crashes. Has anyone had any
experience with this?
Below are the instructions that I located:
Thanks
Dan
2006 May 07
5
File upload/database import
I have been using Ruby on Rails for around 6 weeks now (so far I love
it), but I''ve gotten to a point in the application where I need to allow
the user to upload comma deliminated text files that will get loaded
into one of the database tables.
Before I get started doing this, I was wondering anyone knows of any
examples or tutorials that deal with this. I''d rather do it
2016 Nov 23
2
Active sieve script symbolic link doesn't update when changed.
While setting up sieve on my email server I mistakenly setup a symlink
(~/sieve/myfilter.svbin > ~/.dovecot.sieve) but I think that that should
have been (~/sieve/myfilter.sieve > ~/.dovecot.sieve). I have fixed the
mistake but dovecot/sieve still throws an error saying that the symlink
still links to the wrong file.
I have made sure the symlink is fixed (it links to
2003 Sep 05
3
Dotchart question
Sorry to keep asking elementary questions......I appreciate the help.
I am trying to create a dotchart with the rows sorted according to the
values, rather than the labels. When I try
prof <- c('Accountant', 'Administrative assistant', 'Garment worker',
'Cook',
'Dentist', 'General practictioner', 'Graduate student', 'High level
2007 Sep 25
1
Thermal/Heat
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi list
Can you please say me what this output exactly mean? Anything in
relation to fans/cooling? What does "active" and "ok" mean? Which values
are healthy?
# acpi -tBSc
Thermal 1: active[3], 50.0 degrees C
Thermal 2: ok, 47.0 degrees C
Thermal 3: ok, 45.0 degrees C
Thermal 4: ok, 28.0 degrees C
Thermal
2010 Jul 23
0
specify heat.colors
Hi,
I use heatmap.2 and heat.colors. Is it possible to specify the colors in
that way that
all values below, for instance, 1.5 should be coloured red, values between
1.5 and 1.7 green
and above 1.7 black?
Many thanks
--
View this message in context: http://r.789695.n4.nabble.com/specify-heat-colors-tp2300139p2300139.html
Sent from the R help mailing list archive at Nabble.com.
2012 Feb 19
1
World Heat/Rainbow Map
Dear All,
I would like to do the following: make a plot of the world and color a few selected states.
Some states have an associated scalar (i.e a simple number) and I would like to paint them using a heat map and show legend for the color map in the plot. One or two states do not have any number associated to them and are simply colored/filled according to a distinctive pattern that I choose.
To
2005 Feb 07
0
IAXy Heat? Aluminum case anyone?
Anyone notice that their IAXy gets quite warm when you're on a call, a
little warm on idle? How warm does it get when say two or three
people are on two or three phones on a call?
Anyone thought of making an aluminum case for it?
2006 Feb 09
0
Color key in Heat map
Hi all,
I am trying to produce a heatmap to display clustering of similar rows in
the data given below. For each given row, different colors are used to
represent the corresponding column value. I want to display the values of
the colors in the form of a color key added to the heatmap. Is there anyway
of doing this?
> z[1:10,1:6]
[,1] [,2] [,3] [,4] [,5] [,6]
[1,]
2006 Feb 10
0
Heat Map
Hello all,
I am trying to cluster similar rows of a data matrix together using
hierarchical clustering and display the results in the form of a heat map.
In a Heat map, is it possible to get the order in which the rows will be
clustered , starting with the first rows joined into a group and then
followed by other groups added. I thought i could extract the order by using
$rowInd, but looks like
2006 Apr 13
1
assigning 'heat.colors' according to ages in 'symbols()'
Hi,
I have spatial data for plants that I would like to plot according to its radius
using sysmbols(). Also I would like to color the circles according to an
individual's age using heat.colors(17) [ages within the whole data set range
from 0:16].
I have not found an easy way to assign ages (=a) a specific heat.color.
Any suggestions?
Thanks, Patrick
x <- c(1,3,4,6,7,3,2,8,3,6,5,5)
y