Last change
on this file since 307 was
247,
checked in by duh, 13 years ago
|
|
-
Property svn:keywords set to
Author Rev Date
|
File size:
521 bytes
|
Line | |
---|
1 | package dbnp.clinicaldata |
---|
2 | |
---|
3 | class ClinicalDataLayerService implements dbnp.data.CleanDataLayer { |
---|
4 | |
---|
5 | boolean transactional = false |
---|
6 | |
---|
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) |
---|
11 | } |
---|
12 | |
---|
13 | String[] getFeaturesQuantitative(long assayID) { |
---|
14 | return ClinicalAssayInstance.get(assayID).assay.measurements*.name; |
---|
15 | } |
---|
16 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.