=runif(11,0.1,0.0001),g=runif(11,0.0
0001,0.0001),h=runif(11,0.1,0.0001))
options(digits=10)
manisha
-Original Message-
From: Patrick Connolly [mailto:p_conno...@slingshot.co.nz]
Sent: Sunday, August 02, 2009 3:38 AM
To: Manisha Brahmachary
Cc: r-
To: Manisha Brahmachary
Cc: r-help@r-project.org
Subject: Re: [R] how do i retain decimal values
You've already been pointed to options(digits=);
here's another way: since your data appear to be limited to 2 decimals,
why not select your noise from UNIF(0, 0.001)?
More importantly, are
Hello,
I am trying to do a spearman correlation. My data has tied values. To
overcome this issue, I am adding some random noise (values) to my original
data. However when I add the random noise to the data, the final matrix does
not show the new values. I guess the reason being that the noise I
Hello,
I am trying to calculate the median of numbers across each row for the data
shown below , with the condition that if the number is negative, that it
should be ignored and the median should be taken of only the positive
numbers.
For eg: data is in Column A,B,C. Column D and E demonst
Thank you Bill, your suggestion works just fine!!!
-Original Message-
From: bill.venab...@csiro.au [mailto:bill.venab...@csiro.au]
Sent: Sunday, June 07, 2009 3:23 AM
To: Manisha Brahmachary; r-help@r-project.org
Subject: RE: extract rows having negative values
rownames(X)[apply(X, 1
Thank you, it worked.
-Original Message-
From: Bernardo Rangel Tura [mailto:t...@centroin.com.br]
Sent: Sunday, June 07, 2009 6:14 AM
To: Manisha Brahmachary
Cc: r-help@r-project.org
Subject: Re: [R] Convert a lis to matrix
On Sun, 2009-06-07 at 00:14 -0400, Manisha Brahmachary wrote
Hello,
I have a matrix with 6 columns and 12 rows. I want to extract out those IDs
(rownames) from my matrix which have a negative values. For each ID(row) if
the negative value is even under 1 column it needs to be extracted out. I
will be grateful for any correct suggestion.
Thanks
Ma
Hello,
This is an urgent request. I want to convert a list of 3 elements into a
matrix and I am not sure how to do it.
The list looks like this:
List of 3
$ : num [1:15364, 1] 0.133 0.622 0.588 1.024 0.583 ...
..- attr(*, "dimnames")=List of 2
.. ..$ : chr [1:15364] "6420681" "3610
Thanks your suggestion works -:-)
From: milton ruser [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2008 2:42 PM
To: Manisha Brahmachary
Cc: r-help@r-project.org
Subject: Re: [R] save workspace while running R on a cluster
Hi Manisha,
How about you
Hello,
I have a question about running R in a cluster environment. The shell script
I am running looks like this:
#!/bin/bash
cd /nfs/apollo/2/c2b2/users/mb0001/Data
/nfs/apollo/1/shares/software/core_facility/local/x86_64_rocks/R/current/bin/
R --save < calculate.R >& script.out
I ha
Thanks,
This works fine.
-Original Message-
From: Erik Iverson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2008 4:19 PM
To: Manisha Brahmachary
Cc: r-help@r-project.org
Subject: Re: [R] convert characters into integers in a matrix
Manisha -
Will this work instead?
if 'a
Hello,
I will appreciate any suggestion for this simple problem. I have a matrix of
characters "A", "P", "M".
I want to convert those characters to integers 0,1, 1 respectively. I am
using the following R statements:
exprs.new<-gsub("P",1,exprs)
exprs.new1 <- gsub("A",0,exprs.new)
e
Hi,
I would appreciate any help on the following question:
How can I calculate within class standard deviation for a gene in
R/Bioconductor, given that I have two classes?
Thanks
Manisha
[[alternative HTML version deleted]]
Hi,
I am having troubles with creating an eSet and would appreciate any help on
the following problem.
I am trying to create an eSet using the following code
pd <- read.table(file="pdata.txt",header =TRUE,row.names=1);
colnames(pd) <- c("type","tumor","time","id");
pdN <- list(type
Problem#
I am having a problem combining a matrix and elements of a list into one data
frame.
Data
The matrix is ludwig.results and dim of matrix is 213,8.
The lis
Hello,
I am trying to run a code (see reference section) and when I run the line:
fit<-lmFit(xen1dataeset,design),
I get the error message: Error in lm.fit(design, t(M)) : incompatible
dimensions
I will really appreciate if someone can help me understand this error
message and possibl
, what does runif(50,0,1) mean? How do I intergrate your code
with my code written above?
Thanks a lot!
manisha
_
From: Henrique Dallazuanna [mailto:[EMAIL PROTECTED]
Sent: Friday, November 09, 2007 2:51 PM
To: Manisha Brahmachary
Cc: [EMAIL PROTECTED]
Subject: Re: [R] scaling x-axis
Hi,
I have a query regarding usage of hist (histogram) function in R.
I have a data where the range of the x -axis is from 0.0-1.0. When I use
hist the ticks on the x-axis it gives me by default is at
0.0,0.2,0.4,0.6,0.8 and 1.0.
If I want more ticks such that the x-axis has 0.0,0.1,0.2,
18 matches
Mail list logo