Displaying 1 result from an estimated 1 matches for "us09493743_251527910706_1_1".
2011 Oct 24
0
Problem with calling an user defined R function from Java
...the limma package of BioConductor) and the last 2 lines
of the R Code is :
MA <- normalizeWithinArrays(RG, method="loess")
return(MA$A) # where MA$A is the column A of MA.
Now while calling it in Java, I simply use the following code:
String data;
data="C:/Project_WRAIR/US09493743_251527910706_1_1 T10-105_5day_24hrs";
//where data is the input.
re.eval("source('C:/Project_WRAIR/Normalisation.r')");
System.out.println(re);
REXP rn = re.eval("my.Normal(data)");
System.out.println(rn);
double[] rnd = rn.asDoubleArray();
for(int i=0; i&l...