Package org.rosuda.JRI

Examples of org.rosuda.JRI.Rengine.eval()


      rEngine.assign("mass", masses);
      rEngine.assign("intensity", intensities);

      // Construct xcmsRaw object
      rEngine.eval("xRaw <- new(\"xcmsRaw\")", false);
      rEngine.eval("xRaw@tic <- intensity", false);
      rEngine.eval("xRaw@scantime <- scantime * " + SECONDS_PER_MINUTE,
          false);
      rEngine.eval("xRaw@scanindex <- scanindex", false);
      rEngine.eval("xRaw@env$mz <- mass", false);
      rEngine.eval("xRaw@env$intensity <- intensity", false);
View Full Code Here


      rEngine.assign("intensity", intensities);

      // Construct xcmsRaw object
      rEngine.eval("xRaw <- new(\"xcmsRaw\")", false);
      rEngine.eval("xRaw@tic <- intensity", false);
      rEngine.eval("xRaw@scantime <- scantime * " + SECONDS_PER_MINUTE,
          false);
      rEngine.eval("xRaw@scanindex <- scanindex", false);
      rEngine.eval("xRaw@env$mz <- mass", false);
      rEngine.eval("xRaw@env$intensity <- intensity", false);

View Full Code Here

      // Construct xcmsRaw object
      rEngine.eval("xRaw <- new(\"xcmsRaw\")", false);
      rEngine.eval("xRaw@tic <- intensity", false);
      rEngine.eval("xRaw@scantime <- scantime * " + SECONDS_PER_MINUTE,
          false);
      rEngine.eval("xRaw@scanindex <- scanindex", false);
      rEngine.eval("xRaw@env$mz <- mass", false);
      rEngine.eval("xRaw@env$intensity <- intensity", false);

      // Create the xcmsSet object.
      rEngine.eval("xs <- new('xcmsSet')", false);
View Full Code Here

      rEngine.eval("xRaw <- new(\"xcmsRaw\")", false);
      rEngine.eval("xRaw@tic <- intensity", false);
      rEngine.eval("xRaw@scantime <- scantime * " + SECONDS_PER_MINUTE,
          false);
      rEngine.eval("xRaw@scanindex <- scanindex", false);
      rEngine.eval("xRaw@env$mz <- mass", false);
      rEngine.eval("xRaw@env$intensity <- intensity", false);

      // Create the xcmsSet object.
      rEngine.eval("xs <- new('xcmsSet')", false);

View Full Code Here

      rEngine.eval("xRaw@tic <- intensity", false);
      rEngine.eval("xRaw@scantime <- scantime * " + SECONDS_PER_MINUTE,
          false);
      rEngine.eval("xRaw@scanindex <- scanindex", false);
      rEngine.eval("xRaw@env$mz <- mass", false);
      rEngine.eval("xRaw@env$intensity <- intensity", false);

      // Create the xcmsSet object.
      rEngine.eval("xs <- new('xcmsSet')", false);

      // Set peaks.
View Full Code Here

      rEngine.eval("xRaw@scanindex <- scanindex", false);
      rEngine.eval("xRaw@env$mz <- mass", false);
      rEngine.eval("xRaw@env$intensity <- intensity", false);

      // Create the xcmsSet object.
      rEngine.eval("xs <- new('xcmsSet')", false);

      // Set peaks.
      rEngine.eval("xs@peaks <- peaks", false);

      // Set file (dummy) file path.
View Full Code Here

      // Create the xcmsSet object.
      rEngine.eval("xs <- new('xcmsSet')", false);

      // Set peaks.
      rEngine.eval("xs@peaks <- peaks", false);

      // Set file (dummy) file path.
      rEngine.eval("xs@filepaths  <- ''", false);

      // Set sample name.
View Full Code Here

      // Set peaks.
      rEngine.eval("xs@peaks <- peaks", false);

      // Set file (dummy) file path.
      rEngine.eval("xs@filepaths  <- ''", false);

      // Set sample name.
      rEngine.assign("sampleName", peakList.getName());
      rEngine.eval("sampnames(xs) <- sampleName", false);
View Full Code Here

      // Set file (dummy) file path.
      rEngine.eval("xs@filepaths  <- ''", false);

      // Set sample name.
      rEngine.assign("sampleName", peakList.getName());
      rEngine.eval("sampnames(xs) <- sampleName", false);

      // Create an empty xsAnnotate.
      rEngine.eval("an <- xsAnnotate(xs, sample=1)", false);

      // Group by RT.
View Full Code Here

      // Set sample name.
      rEngine.assign("sampleName", peakList.getName());
      rEngine.eval("sampnames(xs) <- sampleName", false);

      // Create an empty xsAnnotate.
      rEngine.eval("an <- xsAnnotate(xs, sample=1)", false);

      // Group by RT.
      rEngine.eval("an <- groupFWHM(an, sigma=" + fwhmSigma
          + ", perfwhm=" + fwhmPercentage + ')', false);
      progress += progressInc;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.