Displaying 20 results from an estimated 1100 matches similar to: "Display a plot in an applet."
2006 Feb 22
4
heatmap.2 in gplots package
Hello all,
I am using the heatmap.2 function in the gplots package. I want to supress the reordering of the columns of the data matrix i pass to the function. I used the statement,
heatmap.2(z,Colv=FALSE,dendrogram="row",col=redgreen(75))
where z, is the matrix of data. The output i want should have the rows reordered along with the dendrogram and the columns should be in the original
2005 Nov 17
2
[Rd] Scan data from a .txt file
[Re-directing to R-help, as this is more appropriate there.]
I tried copying the snippet of data into the windows clipboard and tried it:
> dat <- read.table("clipboard", header=T)
> dat
Name Weight Height Gender
1 Anne 150 65 F
2 Rob 160 68 M
3 George 180 65 M
4 Greg 205 69 M
> str(dat)
`data.frame': 4 obs.
2005 Nov 18
2
Image display in R
Hi all,
I am trying to display a matrix of plots(images), for example a 3*3 matrix
of 9 image plots, such that when a user clicks on a image i can show the
enlarged plot. I tried the multiple graphic device(using mfcol=c(3,3) and
mfg), but it creates multiple plots in a single image file. So, i won't be
able to highlight a particular plot when the user clicks on it.
To be more clear, can i
2005 Nov 18
2
Image display in R
Hi all,
I am trying to display a matrix of plots(images), for example a 3*3 matrix
of 9 image plots, such that when a user clicks on a image i can show the
enlarged plot. I tried the multiple graphic device(using mfcol=c(3,3) and
mfg), but it creates multiple plots in a single image file. So, i won't be
able to highlight a particular plot when the user clicks on it.
To be more clear, can i
2005 Dec 01
1
Row wise function call.
I have another issue.i have a function which calculates the log2(col i
/col2) value, where i stands for columns 3,4,...etc.
data<-read.table("table.txt", header=TRUE)
iratio<-function(x){
for(n in 3:ncol(data)){
z<-log2(data[x,n]/data[x,2])
}
}
Where x- the row number of the data frame(data).
i want to store the ratios for each row in a object z, which can be
accessed
2005 Dec 01
1
Transfer String Array from R to java
I have a data frame which has the following data.
data<-read.table("table.txt",header=TRUE)
data
X14A_U133A_StatPairs X14A_U133A_Detection X14B_U133A_Signal
1 AFFX-BioB-5_at 403.0 409.3
2 AFFX-BioB-M_at 757.3 574.4
3 AFFX-BioB-3_at 284.4 327.3
4 AFFX-BioC-5_at
2005 Nov 25
1
read.table without sep
Hello all,
I have a data file table.txt which i have attached. I am trying to pass the
columns as arguments to a function "totnorm" where i am displaying a total
normalization plot. The function is given below:
totnorm<-function(x,y){scale<-sum(x)/sum(y);xlab<-colnames(x);ylab<-colnames(y);x1<-x[[1]];y1<-scale*y[[1]];plot(x1,y1,xlab=xlab,ylab=ylab,col=6,
col.lab=4);}
2005 Nov 25
1
read.table without sep
Hello all,
I have a data file table.txt which i have attached. I am trying to pass the
columns as arguments to a function "totnorm" where i am displaying a total
normalization plot. The function is given below:
totnorm<-function(x,y){scale<-sum(x)/sum(y);xlab<-colnames(x);ylab<-colnames(y);x1<-x[[1]];y1<-scale*y[[1]];plot(x1,y1,xlab=xlab,ylab=ylab,col=6,
col.lab=4);}
2005 Oct 05
2
R and Java
I am a grad student and am working on a project where i need to integrate
java and R. I have a front end in java and i need to call R functions and be
able to dispaly the plots and graphs produced by R on my java front end. I
came across some tools like SJava and rserve...but am not sure which best
suits my application. Your suggestion will be really helpful.
Thanks,
vasu.
[[alternative HTML
2005 Nov 17
1
Scan data from a .txt file
Hi all,
Am trying to read data from a .txt file in such a way that i can access the
column names too. For example, the data in the table.txt file is as below:
Name Weight Height Gender
Anne 150 65 F
Rob 160 68 M
George 180 65 M
Greg 205 69 M
i used the following commands:
data<-scan("table.txt",list("",0,0,0),sep="")
a<-data[[1]]
b<-data[[2]]
2006 May 09
4
ruby equivalent of phpinfo()
Is there a ruby equivalent for the phpinfo() php function that displays
all the variables and environment settings ?
Thanks,
vasu.
--
Posted via http://www.ruby-forum.com/.
2006 Jul 29
9
export to a CSV or XLS file
hello everyone,
Any idea how can i export a resultset from a database to a CSV or XLS
file from the application ? would like the user to have the option to
export selected data to a CSV/XLS file.
Any plugins or libraries avaiable to accomplish this ?
Thanks for your time,
VASU.
--
Posted via http://www.ruby-forum.com/.
2006 Jul 28
3
forms to pdf generation
hello Everyone,
would like to search this subject in the forms, but since search is
disabled I am posting this one. Any insight is much appreciated.
I am a newbie to ROR. Wondering what it takes to take a form that is
filled by a user and generate a PDF on the fly for his to save or print.
I am aware of some PDF libraries for PHP to accomplish this, but not
quite sure how to get this done
2010 Jul 21
1
asterisk realtime SIP configuration
Hi All,
I am trying to configure asterisk realtime. But i am unable to get the
extensions listed successfully when i type "sip show peers" in the asterisk
CLI . i am unable to see any failure logs when i do a reload
i can able to connect to the data source through "odbc show" in the
CLI, Any hep in this regard is highly appreciated. Following is the
configuration
2006 Aug 02
4
Search function in this Forum ??
This forum has been a great resource for me. It would be great if i can
search the forum before posting any question, as i''m sure someone has
already posted that question before. The search function has been
disabled for quite sometime now. I''ve already emailed the administrator
but haven''t got any response.
any idea on when this would be enabled ?
Thanks,
VASU.
2002 Dec 27
2
RSvgDevice & sapply(plotmeans)
Hi,
anybody know why this not works for several
plots ?
When i set onefile=T the plots are stacked one about another
, onefile=F only the first plot is shown in AllbusMeansPlots.svg.
[h2 is a data.frame]
......hist and sapply works for several plots nice with RSvgDevice !
Maybe setting the title after apply is a problem, but until yet i didn't
found a better solution ?
library(RSvgDevice)
2006 May 29
3
Ruby on Rails hosting on BlueHost.com -- Feeback needed
hi Friends,
Planning to use BlueHost.com for my Ruby on Rails application hosting on
their $6.95 per month. Is anyone using them ? What version of ROR do
they provide ? What kind of webserver does they provide ? How much RAM ?
Can i re-start the web-server if my ROR application demands ?
May be the above answers would be best answered by their sales dept. But
if anyone is using them, please
2008 Jan 14
3
problems with .svg
Dear everybody!
I am making a graph in R and employ pstoedit to expot the .pdf-output
to .svg.
When I open the .svg with firefox I get the .svg-code shown wit the
following header:
"Mit dieser XML-Datei sind anscheinend keine Style-Informationen
verkn?pft. Nachfolgend wird die Baum-Ansicht des Dokuments angezeigt."
Which information should how be included?
Thank you in advance.
Yours,
2012 Nov 16
1
Build without warning RSvgDevice
Hi,
I'm trying to build a modified version of the package RSvgDevice,
without warnings.
I'm having troubles with the description file. Here's the logs :
* checking Rd files ... WARNING
prepare_Rd: RSvgDevice.Rd:1: All text must be in a section
But the RSvgDevice.Rd file seems OKto me, what am I missing ?
Thanks for your help,
Matthieu Decorde
--
Matthieu Decorde,
2005 Jan 06
1
RSvgDevice incomplete svg output
Hi
I use RSvgDevice to output plot, and modify them using svg editor (inkscape or
sodipodi on Linux). Some month ago, results were perfect. I did exactly the
same analysis today on the same data, and unfortunatly the results are
different. While looking to the svg file, it seems that all information
concerning "fill" and "stroke" of objects are lost. The consequence is that