Displaying 5 results from an estimated 5 matches for "sampath26".
Did you mean:
sampath
2011 Jun 13
3
How to create a numeric data.frame
Hi All
I am new to R and I am not sure of how this should be done. I have a matrix of
985x100 values and the class is data.frame.
A sample of my dataset looks like this (Since its a huge dataset and it would
make the screen look more complex, I am pasting only the first few rows and
columns.
V2 V3 V4 V5 V6
2 0.009953966 -0.01586103 -0.016227028
2011 Jun 26
2
Ordering a matrix based on cluster no
Hi All
I have a symmetric matrix of genes ( 100x100 matrix). I also have a matrix
(100x2) of two columns where column 1 has the gene names and column 2 has
the cluster it belongs to (they are sorted and grouped based on the cluster
no).
I would like to order the rows and columns of the 100x 100 matrix such that
the first n genes correspond to cluster 1 and next n genes correspond to
cluster 2
2012 Feb 06
1
how to access values from functions
Hi All
I would like to know how to access the values of the variable
lambda.mu and and see what abs(lambdas[1])
does since lambdas is not a keyword.
Snippet of the code:
scoreFunction <- function(lambdas)
{
lambda.mu <- abs(lambdas[1])
sme.em(yi,tmei,Xi,Ni,G,lambda.mu,lambda.v)$AICc
}
Thanks in advance.
Regards
Ap
--
Aparna Sampath
Master of Science (Bioinformatics)
2012 Mar 15
1
substituting own test statistics in a built-in function
Hi All
I would like to compute the raw p-value from permutation tests and I found
mt.sample.rawp() from the package multtest almost similar to what I want to
do. But in the function definition:
mt.sample.rawp(V,classlabel,test="t",side="abs",fixed.seed.sampling="y",B=10000,na=.mt.naNUM,nonpara="n")
I would like to choose my own t-test which is designed
2011 Jul 06
1
Create simulated data's using mvrnorm
Hi All
This might be something very trivial but I seem to miss something in the
syntax or logic which makes me keep wandering around the problem without
arriving at a solution.
What I want to do is to simulate a sample data for performing cluster
analysis. I tried to use
x1= mvrnorm(10,rep(0.8,3),diag(3))
x2= mvrnorm(10,rep(0,3),diag(3))
x3= mvrnorm(10,rep(-0.5,3),diag(3))
x=rbind(x1,x2,x3)