search for: amitkumartiwary

Displaying 5 results from an estimated 5 matches for "amitkumartiwary".

2009 Oct 01
4
removing missing values from a matrix
Hi! All, I am working with a large matrix of dimension 23689 x 162. Some of the values of this matrix is missing (NA). And it looks something like that: >dim(red) 23689 162 >red [,1] [,2] [,3] [,4] [,5] [1,] 2 NA 4 9 6 [2,] 5 NA 6 NA 1 [3,] NA 2 11 23 20 [4,] 2 1 21 NA 3 [5,] NA 7 NA 52 NA Here I
2010 May 05
1
rcorr p-values for pearson's correlation coefficients
Hi! All, To find co-expressed genes from a expression matrix of dimension (9275 X 569), I used rcorr function from library(Hmisc) to calculate pearson correlation coefficient (PCC) and their corresponding p-values. From the correlation matrix (9275 X 9275) and pvalue matrix (9275 X 9275) obtained using rcorr function, I wanted to select those pairs whose PCC's are above 0.8 cut-off and then
2010 Jan 24
2
fetching columns from another file
Hi! All, I am trying to fetch rows from a data frame which matches to first 2 columns of another data frame. Here is the example what I am trying to do: > ptable=read.table(file="All.txt",header=T,sep="\t") > ptable=as.matrix(ptable) > dim(ptable) [1] 9275 6 > head(ptable) Gene1 Gene2 PCC PCC3 PCC23 PCC123 [1,]
2010 Apr 30
0
extracting pairs from correlation matrix and p-value matrix
Dear All, I am working on a large matrix of dimension 20000x700 say 'mat'. I have calculated pearson correlation for the rows of the matrix and their p-values using rcorr function in library Hmisc. Now I wish to filter out those pairs who's PCC value is above 0.8 cut off and p-value is less than 0.05. >library(Hmisc) >mat_cor=rcorr(t(mat),type="pearson")
2010 Apr 18
2
plotting pca of samples in different colors
Hi! All, I am working on a dataset 'rat' with dimension 20500x363. I have calculated pca of samples (columns). Now I am trying to plot first two principle components with specified columns in different color. I have done following so far: > dim(rat) [1] 20500 363 >#specifying columns to be colored in red >