Changeset 187 for trunk/grails-app/services
- Timestamp:
- Feb 10, 2010, 4:09:52 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/services/dbnp/clinicaldata/ClinicalDataLayerService.groovy
r106 r187 5 5 boolean transactional = false 6 6 7 String getAssayDescription(long assayID) { 8 return ""; 7 Map getDataQuantitative(String feature, long assayID, String[] sampleIDs) { 8 def measurement = ClinicalMeasurement.findByName(feature) 9 if (!measurement) throw new NoSuchFieldException("Feature ${feature} not found") 10 measurement.getValues(assayID,sampleIDs) 9 11 } 10 12 11 String[] getFeatureNames(long assayID) { 12 return new String[0]; 13 } 14 15 Map getFeatureData(long assayID, long[] sampleIDs) { 16 return null; 17 } 18 19 Map getFeatureDataDifferential(long assayID, long[] sampleIDs1, long[] sampleIDs2) { 20 return null; 13 String[] getFeaturesQuantitative(long assayID) { 14 return ClinicalAssayInstance.get(assayID).assay.measurements*.name; 21 15 } 22 16 }
Note: See TracChangeset
for help on using the changeset viewer.