search for: mb3058

Displaying 10 results from an estimated 10 matches for "mb3058".

Did you mean: 953058
2009 Jun 06
2
extract rows having negative values
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 Manisha Here is the matrix that I am working on: ID A B C D E F 1 -4.18972 -3.8946
2007 Nov 09
1
scaling x-axis in hist function
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,0.3...till 1.0 what parameter should I use in the hist function? Thanks manisha
2008 Jun 10
2
convert characters into integers in a matrix
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) exprs.new2 <-
2008 Jun 12
1
save workspace while running R on a cluster
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 have used the "-save" command to save the R workspace (If, I understand it
2008 Feb 27
2
problem with creation of eSet
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 =
2007 Nov 13
0
need help with error message:Error in lm.fit(design, t(M)) : incompatible dimensions
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 possibly help me debug the problem. Thanks manisha Reference section xen1data<-ReadAffy()
2009 Jun 07
1
Convert a lis to matrix
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" "3610072" "2260458" "60689" ... .. ..$ : NULL $ :
2008 Jan 03
1
help with combining matrix and list into dataframe
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 list is called symbols and its length is 213. Following is an example the structure of my matrix
2009 Jul 20
2
calculating median with a condition
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 demonstrates what I want to get as answer A B C Median median value -13.6688115 -32.50914055
2009 Aug 01
3
how do i retain decimal values
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 add is very small and the full value including the decimals gets truncated to show only the value