MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Significant Gene expression analysis in Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg122751] Re: Significant Gene expression analysis in Mathematica
  • From: Jay romero <jayreno33 at gmail.com>
  • Date: Wed, 9 Nov 2011 06:26:20 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

Thanks for first link, it has good information.
I will get back If I have any questions.
Rlink is no more supported or sold by ScienceOps.
However, I tried calling R in mathematica: I dont like the syntax, too much to type, I guess R is easier to use or i need more example to use in a efficient way: here is the code: 

Needs["NETLink`"]
 myR = CreateCOMObject["StatConnectorSrv.StatConnector"]

In[204]:= myR@Init["R"]

In[205]:= myR@SetSymbol["xxx", 12321]

In[206]:= result1 = myR@GetSymbol["xxx"]

Out[206]= 12321

In[215]:= myR@EvaluateNoReturn["randmat<-matrix(rnorm(10),5)"]

In[216]:= rmat = myR@GetSymbol["randmat"]

Out[216]= {{1.43101, -1.06414}, {-0.537657, 
  1.67959}, {1.44504, -1.53561}, {1.07856, -0.0876002}, {0.823937, \
-0.792503}}

In[217]:= Dimensions[rmat]

Out[217]= {5, 2}



  • Prev by Date: Re: How to evaluate parts of an expression, but not other parts?
  • Next by Date: Re: How to use SeriesCoefficient to define new functions
  • Previous by thread: Re: Significant Gene expression analysis in Mathematica
  • Next by thread: Where are all my "memories" gone?