Displaying 20 results from an estimated 200 matches similar to: "Reading labels for very large heatmaps"
2009 May 16
6
Modificando heatmaps
Hola a todos,
Estoy trabajando con la función heatmap.2() de la libreria ggplots. A
continuación encontrarán un ejemplo de la estructura de mis datos y el
código para generar el gráfico que me gustaría modificar:
# Datos
set.seed(123)
x <- matrix(rnorm(8*30), ncol = 8)
rownames(x) <- paste(''GM10A'',1:30,sep="")
colnames(x) <-
2010 Sep 08
1
saving heatmaps in graphical format that can be edited in graphic editor tool
I generated a heatmap in R using the following commands:
> mydata <- read.csv(file="Data.csv", header=TRUE, sep=",")
> mydata <- mydata[rowSums(mydata[,-1]^2) >0, ]
> rownames(mydata)=mydata$Name
> mydata <- mydata[,2:253]
> mydatamatrix <- data.matrix(mydata)
> mydatascale <- t(scale(t(mydatamatrix)))
> hr <-
2010 Sep 08
2
saving heatmaps in graphical format that can be edited in graphic editor tools
I generated a heatmap in R using the following commands:
> mydata <- read.csv(file="Data.csv", header=TRUE, sep=",")
> mydata <- mydata[rowSums(mydata[,-1]^2) >0, ]
> rownames(mydata)=mydata$Name
> mydata <- mydata[,2:253]
> mydatamatrix <- data.matrix(mydata)
> mydatascale <- t(scale(t(mydatamatrix)))
> hr <-
2009 Aug 24
1
Saving heatmaps as PDFs
Hi,
I'm trying to save heatmaps as PDFs. However, the PDF version of the
heatmaps (Heatmap_CAFvsTNF_run2.pdf) is blurred when compared to its
counterpart, which was saved manually by using the software
"Grab" (Heatmap_CAFvsTNF_run2.tiff).
-----R code--------
sample_output <- "stroma_run2"
filename <-
2009 Apr 07
2
heatmap.2 no reordering of the columns and rows
Hi,
I need to generate a heatmap on a square matrix and wouldn't want to reorder the columns and the rows on the heatmap display.
I have used the options Rowv=NULL and Colv=NULL but doesn't seem to work. Following is a snippet of the heatmap function i am using.
args <- commandArgs();
inputfile <- args[2]
imgfile <- args[3]
bitmap(imgfile, height=15, width=15, res=100,
2004 Nov 11
2
Row labels are skewed in 'heatmap' (PR#7358)
Full_Name: Peter Fischer Hallin
Version: Version 1.8.1
OS: Irix64
Submission from: (NULL) (130.225.67.236)
I've made a script look like this:
exp <- read.table("graph/1933672048.cluster.data")
exp <- as.matrix(exp)
postscript("graph/1933672048.cluster.data.ps")
heatmap(exp,scale="none",cexCol=0.4,cexRow=0.2,col=custom,margins=c(5,5))
The row labels
2006 Jan 23
1
lines() in heatmap()
Hello!
I looked for help through google and the help-files and spend several
hours with trial and
error, but didn't find a correct way.
It's all about lines in a heatmap to separate different data block from
each other to underline
the significance of the found clusters!
The heatmap is build like that:
heatmap(X, Rowv=NA, Colv=NA, symm=TRUE, cexRow=0.3, cexCol=0.3)
I switched the
2016 Apr 18
2
heatmap2 error key
Hi I am trying to understand what happen with the heatmap.2 code that it
used to work (last used in October 2015). I am able to get a heatmap but my
colour key doesn't come up and instead I get an error in all my files the
used to work. Does anyone has any idea of what could have changed? or how
to fix this.
Thanks.
#
Error in seq.default(min.raw, max.raw, by = min(diff(breaks)/100)) :
2011 Apr 11
1
heatmap clustering dendrogram export
Hi,
I am a beginner for R.
I had use gplots to generate a heatmap as following:
>heatmap.2(matrix, col=topo.colors(75), dendrogram="column", Rowv=FALSE,
trace="none", key=TRUE, keysize=0.8, density.info="none", cexRow=0.2,
cexCol=0.6)
It work well. It generate heatmap whith rcolumn clustering dendrogram and I
can export a very nice graph. But I don not know how
2007 Sep 05
1
problem formatting and positioning title in heatmap
I am using heatmap with the arguments below. The title size stays the
same no matter what I set cex.main to. Is this expected? Can I adjust
the title size in heatmap?
Also, the position of the main title is at the very upper edge of the
output and if I use a "\n" to stack the title the upper line is out of
bounds and doesn't show up.
I am outputting to pdf.
Any help? Thanks,
2008 Dec 13
2
What is "The Rails Way" to do this?
I have a PHP application with the following in one of the "views":
<input type="button" onClick="newAlt()" value=" + "></nobr>
The JavaScript for "newAlt()" is:
// using DOM create new input box for alternate part
function newAlt() {
var html = "<input style=''background-color:#FFFFCC'' ";
html +=
2005 Aug 03
1
help for cell2nb and queencell in spdep package
Dear Dr. Bivand and R-users,
I have a 5 by 5 grid, say, location[1:5,1:5], and I want to know the
indices of 8 neighbours of each cell. For example, for location[2,2], its
neighbour coordinates are [1,1:3], [2,1], [2,3] and [3,1:3]. Sometimes I
also need to remove edge effects (torus = TRUE).
I have tried "cell2nb" function in your spdep package. Here's my example:
> neigh
2011 Jun 01
3
conversion of matrix into list
Dear all,
I have a matrix X which consists of 2 columns. I would like to convert this
matrix into a list where every entry of the list consists of a single row of
the matrix.
Does anyone have a suggestions how to manage this?
Thank you for your efforts in advance!
Best,
Martin
[[alternative HTML version deleted]]
2006 Jul 17
3
Correlation Mapping
On the cover of Zivot and Wang's Modeling Financial Time Series with S
Plus, there is a correlation plot that seems to indicate the strength
of correlation with color-coded squares, so that more highly
correlated stocks appear darker red. If anybody out there is familiar
with the book or understands what I am talking about, I am curious as
to whether or not there is a similar function in R
2010 Oct 06
1
Change font type for rows on Heatmap
Hi,
I would like to change the font type (to courier) of my rows labels when
I plot a heatmap with R.
I have used cexRow=0.7 to modify the size but didn't find anything
regarding font type.
heatmap(as.matrix(cebpa50), margins=c(5,10) , Colv=NA , scale="column",
col=col4, cexRow=0.7)
Thanks,
Ben
2009 Jul 21
1
problem with heatmap.2 in package gplots generating non-finite breaks
I have written a wrapper for heatmap.2 called
heatmap.w.row.and.col.clust which auto-generates breaks using
breaks<-round((c(seq(from=(-20 * stddev), to=(20 * stddev))))/20,
digits = 2) #(stddev in this case = 2.5)
This has always worked well in the past but now I am getting an error
that non-finite breaks are being generated. Drilling down, it seems
that my wrapper is generating finite
2011 Oct 18
0
heatmap
Dear R users, need help with my heatmap. I will really approciate some help.
Given the matrix:
> head(x)
A B C D time
[1,] 0 8 0 0 1
[2,] 0 160 0 0 2
[3,] 0 175 0 0 3
[4,] 0 253 0 0 4
[5,] 79 212 0 0 5
[6,] 6 105 0 0 6
and call:
##------------ Heatmap --------------
library(RColorBrewer)
rc <- grey((nrow(x):1)/nrow(x))
heatmap(data.matrix(x[,1:4]),
2004 Jun 29
1
RE: [S] Different behaviour of unique(), R vs. Splus.
The source of the incompatibility:
In S-PLUS 6.2:
> methods("unique")
splus splus menu splus
"unique.data.frame" "unique.default" "unique.name" "unique.rowcol.names"
In R-1.9.1:
> methods("unique")
[1] unique.array unique.data.frame unique.default unique.matrix
2011 Apr 18
0
heatmap.2 - change column & row locations; angle / rotate
Hi Chakravarthy,
[dont forget to Cc the list for useRs with the same Q.]
If you're trying to reuduce the isze of your row or column labels, i
think the following arguments of heatmap.2 {gplots} is what you want to
adjust- 'cexCol' and 'cexRow'.
Specifically on my question that you ask about, i found the BioC forum
helpful:
2010 Sep 22
0
How to Ignore NaN values in Rows when using hclust function in making Heatmap??
I am making heatmaps for a dataset (~ 300*600 matrix) with the following R
script (I am not familiar with R and this is the first time I am using it).
library("gplots")
library("Cairo")
mydata <- read.csv(file="data.csv", header=TRUE, sep=",")
rownames(mydata)=mydata$Name
mydata <- mydata[,2:297]
mydatamatrix <- data.matrix(mydata)
mydatascale