/** * R interface to sets the bioAssays value for this DerivedBioAssays * * @param rjNumericMatrix */ public void rsetBioAssays(org.bioconductor.packages.rservices.RJNumericMatrix rjNumericMatrix) { MageMapper mapper = new MageMapper(); BioAssay[] bioAssays = mapper.toBioAssay(rjNumericMatrix); DerivedBioAssay[] dBADs = new DerivedBioAssay[bioAssays.length]; for (int i = 0; i < bioAssays.length; ++i) dBADs[i] = (DerivedBioAssay) bioAssays[i]; this.bioAssays = dBADs; }
/** * R interface to get the bioAssays value for this DerivedBioAssays * * @return the value of bioAssays */ public org.bioconductor.packages.rservices.RJNumericMatrix rgetBioAssays() throws Exception { MageMapper mapper = new MageMapper(); return mapper.toRJNumericMatrix(bioAssays); }