Hi,
Can anyone tell me how to set Z-score according to my own requirement as
the below code is taking as per the file entries. Any help would
be appreciable.
library(gplots)
x=read.table("final.txt", header=TRUE)
mat=data.matrix(x)
heatmap.2(mat,
col=colorRampPalette(c("green","white","red"))(256
Hi,
I am drawing a heat map using gplots of R package. The file (new4) is
having values 0 and 1 only.
library(gplots)
library(marray)
x=read.table("new4", header=TRUE)
mat=data.matrix(x)
heatmap.2(mat,
col=colorRampPalette(c("black","red"))(256),
#col=greenred(75),
Rowv=TRUE,
Colv=TRUE,
distfun
re
giving at terminal,
I am not sure this is hard to understand for me.
But I will try it with different sides and I hope I will get something
of of it. But if
you also extract some good plz let me know.
I also got a online tool called venny to draw for 4 subsets.
Thanks
khush
On Sat, May 7, 20
drawing the same any script .
Thank you
Khush
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and
Dear Experts,
I am using the below script to generate the heat map of gene expression
data. I am using Hierarchical Clustering (hclust) for clustering. Now I want
to compare different clustering parameters such as *K-means* clustering, Model
Based Clustering,
I have two queries:
1. How to incorp
Hi,
I am using heatmap.2 of gplots to make heatmaps of my the attached file. I
am giving my code for the same ..
library(gplots)
x=read.table("1.txt", header=TRUE)
mat=data.matrix(x)
heatmap.2(mat, col=greenred(75),
Rowv=TRUE,
Colv=TRUE,
distfun = dist,
hclustfun = hclust,
dendro
Hi,
I am using heatmap.2 of gplots to make heatmaps of my the file. I am giving
my code for the same ..
library(gplots)
x=read.table("1.txt", header=TRUE)
mat=data.matrix(x)
heatmap.2(mat, col=greenred(75),
Rowv=TRUE,
Colv=TRUE,
distfun = dist,
hclustfun = hclust,
dendrogram = c(
ssing: using
'/home/fedora/R/i386-redhat-linux-gnu-library/2.11'
Warning: unable to access index for repository
http://cran.csdb.cn/src/contrib
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
package gplots is not available
any suggestion will be appreciab
Hi,
I am using vim to edit my files...I do not know what has been pressed by me
as my R code get converted to such a crap...
%PDF-1.4
%<81>â<81>ã<81>Ï<81>Ó\r
1 0 obj
<<
/CreationDate (D:20100902122215)
/ModDate (D:20100902122215)
/Title (R Graphics Output)
/Producer (R 2.11.1)
/Creator (R)
how t
Hi all ,
I have following script to plot some data.
plot( c(1,1100), c(0,15), type='n', xlab='', ylab='', ylim=c(0.1,25) ,
las=2)
axis (1, at = seq(0,1100,50), las =2)
axis (2, at = seq(0,25,1), las =2)
lines( c(1,304),c(0,0),col='grey', lwd=3 )
lines( c(1,238),c(1,1),col='grey', lwd=3 )
segmen
.85,1.15) )
>
> subplot( tmpfun(5, 'green', 'DOM'), c(300, 400), c(0.85, 1.15) )
>
>
>
>
>
> Hope this helps get you started (this could all be wrapped into a single
> function if you want, additional proteins can be added at 2, 3,
),
>
>
>
>
> the points function and the segments separately. Segments can take vectors,
> so you dont need to separate things into multiple calls.
>
>
>
> --
>
> Gregory (Greg) L. Snow Ph.D.
>
> Statistical Data Center
>
> Intermountain Healthcare
>
> greg
ue', pch=2) )
> with(anscombe, segments(x1, y2, x1, y3, col=ifelse( y2>y3, 'green','red')
> ) )
>
>
> with(anscombe, plot(x1, y2, ylim=range(y2,y3), type='n') )
> with(anscombe[order(anscombe$x1),], polygon( c( x1,rev(x1) ), c(y2,
> r
Hi,
How to mark points on x axis of a graph keeping x axis as constant and
changing y from y1 to y2 respectively. I want to highlight the area from y1
to y2.
Any suggestions
Thank you
Jeet
[[alternative HTML version deleted]]
__
R-help@r-pro
Thank you
Jeet
On Sat, Jun 5, 2010 at 1:07 PM, Berwin A Turlach wrote:
> G'day,
>
> On Sat, 5 Jun 2010 12:51:08 +0530
> "khush " wrote:
>
> > I am trying to install rgl package under R and getting some errors
> > which is below.
> &
Hello,
I am trying to install rgl package under R and getting some errors which is
below.
> install.packages("rgl")
Warning in install.packages("rgl") :
argument 'lib' is missing: using '/usr/lib/R/library'
trying URL 'http://cran.csie.ntu.edu.tw/src/contrib/rgl_0.91.tar.gz'
Content type 'appli
> 801.408.8111
>
>
> > -Original Message-
> > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> > project.org] On Behalf Of khush
> > Sent: Friday, June 04, 2010 1:45 AM
> > To: r-help@r-project.org
> > Subject: [R] Shape
Hi,
I am making barplots . I am using the default shape of barplots with a pipe
but I wants to build bars in various 3d shapes. I have install rgl using
install.packages('rgl') for this purpose, but when I am doing library(rgl),
it shows
Error in library(rgl) : there is no package called 'rgl'
W
lets say
bp[1 ]10.2 bp[3], 15.2
how to make a dotted line using R, is it possible
Thank you in advance
Jeet
On Tue, Jun 1, 2010 at 4:31 PM, khush wrote:
> Dear All,
>
> I am newbie to R, and I wanted to plot a barplots with R and in such a way
> that It will a
Dear All,
Thank you very much for your kind help and support I got it.
Jeet
On Tue, Jun 1, 2010 at 5:32 PM, Jim Lemon wrote:
> On 06/01/2010 09:01 PM, khush wrote:
>
>> Dear All,
>>
>> I am newbie to R, and I wanted to plot a barplots with R and in such a
Dear All,
I am newbie to R, and I wanted to plot a barplots with R and in such a way
that It will also show me position which I can plot on the bar line.
Here is my code that I am using to plot,
> chromosome <- c(40.2, 35.6, 36.1, 29.6, 31, 29.6, 31, 29.4, 28.2, 23, 23,
28.2)
>barplot (chromosom
21 matches
Mail list logo