Displaying 20 results from an estimated 10000 matches similar to: "convert the contents of a date.frame to a matrix"
2003 Aug 13
4
big data file geting truncated
I am very new to R. I was trying to load some publicly available Expression
data in to R.
I used the following commands
mydata<-read.table("dataALLAMLtrain.txt", header=TRUE, sep
="\t",row.names=NULL)
It reads data without any error
Now if I use
edit(mydata)
It shows only 3916 entries, whereas the actual file contains 7129 entries)
My data is something like
Gene Description
2002 Feb 22
1
Summary: read.table on Mac OS X, CARBON vs. DARWIN
Thanks a lot, James!!
The problem is fixed. On the version 1.4.0 Mac/darwin (the latest
available version for this system) the function read.table (which is
called from read.delim etc., too) has the bug you explained.
Inserting the row
nlines <- nlines+1
after
lines <- c(lines, line)
removes this bug.
M.
On Friday, February 22, 2002, at 02:33 PM, james.holtman at convergys.com
2005 Oct 31
1
write.table call
Hi,
I use write.table() to write a file to an external xls file. the column names left-shift one position in output file. I check with col.names() row.names(), the file is fine. How to prevent the shifting?
I71 I111 I304 I307 I305 I306 I114 I72
AFFX-BioB-5_at 6.66435 6.787807 5.335962 5.250163 6.47423 5.882104 5.965109 6.591687195
AFFX-BioB-M_at 6.163227 5.965427 4.665569 2.743531 6.097244
2012 Nov 22
1
ggplot2 and the legend
Dear all,
i try to plot with ggplot2. Therefor I have an matrix with 3 colums. With cbind I add an additional column called "col". I need this column "col" because in a later step and want to specify here some plot details which I will get from another analysis
If I want to plot with this code, I have the problem that the legend is wrong.
Blue changed to green and green to
2003 Sep 11
1
discrepancy between R and Splus lm.influence() functions for family=Gamma(link=identity)
Hello,
I am looking for an explanation and/or fix for a discrepancy in the behaviour of the R lm.influence() function [ version R 1.5.0 (2002-04-29) ] and the same function in Splus [ Splus version 5.1 release 1, running on SGI IRIX 6.2]. The discrepancy is of concern because I am migrating some Splus scripts to R and need to ensure consistency of results.
Specifically, when I fit a glm()
2003 Sep 05
2
stack overflow
Hello,
I am trying to do an ANOVA on a microarray data set consisting of
22690 elements. The ANOVA is fine, but when I try to put the data in
a frame in order to exporting it, I get a stack overflow. I have
found documentation on dynamic memory in R, but not on how to increase
the stack size. The code I'm using is below. If anyone has any
suggestions for a workaround here, I'd
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);}
2006 Jan 30
0
Anova help
Hello all,
I am trying to perform ANOVA on my sample data given below to see if any
gene(column 1 stands for gene names) is differentially expressed after
subjecting it to the 6 different experiments(columns 2 to 7 are
experiments).
Gene
14A_U133A_Detection
14B_U133A_Signal
88A_U133A_Signal
88B_U133A_Signal
183A_U133A_Signal
183B_U133A_Signal
AFFX-BioB-5_at
403
409.3
611.5
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
2013 Nov 26
7
[PATCH RESEND 0/1] libxl: introduce an option for disabling the non-O_DIRECT
I think I posted this patch before, but it looks like it was in
December 2012 (!).
1/1 libxl: introduce an option for disabling the non-O_DIRECT workaround
Ideally it would go into 4.4, at least. Provided the corresponding
qemu part has gone into qemu-xen, which I think it has. Can anyone
confirm ?
2013 Jan 03
2
Sas by function in R
Hello,
It's an alternative to use SAS by function in R?
I want to plot d histograms by plot.from example bellow:
Thank you!
plot d
1 1 16.3
2 1 25.0
3 1 57.8
4 1 17.0
5 2 10.8
13 2 96.4
17 3 76.0
18 3 32.0
19 3 11.0
20 3 11.0
24 3 106.0
25 3 12.5
21 4 19.3
22 4 12.0
26 4 15.0
27 5 99.3
32 7 11.0
36
2009 Jul 13
1
survSplit with data.frame containing a Surv object
Dear All,
since years I am struggling with Surv objects in data.frames. The
following seems to have to do with it.
See below the modified example from the help page of survSplit. The
original works, as expected. If, however, a Surv object is added to
the data.frame, each record gets doubled.
Is there some solution other than avoiding Surv objects in data.frames?
Thanks,
Heinz
2010 Nov 12
0
drosophila2cdf in simpleaffy / affyQCReport
Hi everybody,
I have a problem when trying to do the quality control with the packages
simpleaffy and affyQCReport with the drosophila chip 2.0
At first I got the messeage, that the *.qcdef file is not there. I followed
the instructions in tha manual and created the file like that:
array drosophila2cdf
alpha1 0.05
alpha2 0.065
spk bioB AFFX-r2-Ec-bioB-3_at
spk bioC AFFX-r2-Ec-bioC-3_at
spk bioD
2008 Mar 13
1
survival curve for only certain values of a factor
Hello:
Using the built-in dataset aml as an example:
data(aml)
If I use instead dummy variables:
aml$x1 = (aml$x=="maintained")aml$x2 = (aml$x=="unmaintained")
and I want to plot the survival curve using x1, x2, and I just want the 2 levels, rather than 4 curves from:
fit <- survfit(Surv(time, status) ~ x1+x2, data=aml)
plot(fit)
I guess because there are 2 levels
2006 Jan 20
3
command in survival package
Hi there,
I have a question about one command sentence when I follow the example
in the book of "Survival analysis in S":
> aml1<-aml[aml$group==1]
but I got the error warning: NULL data frame with 23 rows
Thus, I couldn't keep going on the next command:
esf.fit<-survfit(Surv(aml1,status)~1).
and also when I try
> aml1<-aml[aml$group==1,]
2015 Dec 07
2
Tiempo de vida
Los datos no son de desgaste de cuchilla, sino de consumo de las mismas.
Por ello tengo los datos de la siguiente forma:
Unidades cambiadas Fecha
En unidades cambiadas, suele ser una y en fecha el dia que se hizo el cmabio.
Con eso no se muy bien como estructurar los datos para hacer el análisis.
Gracias
Jesús
> Date: Mon, 7 Dec 2015 16:27:18 +0100
> From: griera en yandex.com
2019 Nov 22
1
[PATCH v4] pci: prevent putting nvidia GPUs into lower device states on certain intel bridges
On Fri, Nov 22, 2019 at 12:30 PM Rafael J. Wysocki <rafael at kernel.org> wrote:
>
> On Fri, Nov 22, 2019 at 11:36 AM Mika Westerberg
> <mika.westerberg at intel.com> wrote:
> >
> > On Thu, Nov 21, 2019 at 11:39:23PM +0100, Rafael J. Wysocki wrote:
> > > On Thu, Nov 21, 2019 at 8:49 PM Mika Westerberg
> > > <mika.westerberg at intel.com>
2016 May 30
2
[PATCH 1/9] drm/nouveau: Don't leak runtime pm ref on driver unload
On Sun, May 29, 2016 at 05:50:06PM +0200, Lukas Wunner wrote:
> Hi Peter,
>
> On Fri, May 27, 2016 at 03:07:33AM +0200, Peter Wu wrote:
> > On Tue, May 24, 2016 at 06:03:27PM +0200, Lukas Wunner wrote:
> > > nouveau_drm_load() calls pm_runtime_put() if nouveau_runtime_pm != 0,
> > > but nouveau_drm_unload() calls pm_runtime_get_sync() unconditionally.
> >
2004 Apr 21
1
Boot package
Dear mailing list,
I tried to run the example for the conditional bootstap written in the help file
of censboot. I got the following result:
STRATIFIED CONDITIONAL BOOTSTRAP FOR CENSORED DATA
Call:
censboot(data = aml, statistic = aml.fun, R = 499, F.surv = aml.s1,
G.surv = aml.s2, strata = aml$group, sim = "cond")
Bootstrap Statistics :
original bias std. error
t1*