Search in sources :

Example 1 with StandardQuantitationType

use of ubic.gemma.model.common.quantitationtype.StandardQuantitationType in project Gemma by PavlidisLab.

the class LoadSimpleExpressionDataCli method configureQuantitationType.

private void configureQuantitationType(String[] fields, SimpleExpressionExperimentMetaData metaData) {
    metaData.setQuantitationTypeName(fields[LoadSimpleExpressionDataCli.Q_NAME_I]);
    metaData.setQuantitationTypeDescription(fields[LoadSimpleExpressionDataCli.Q_DESCRIPTION_I]);
    metaData.setGeneralType(GeneralType.QUANTITATIVE);
    StandardQuantitationType sQType = StandardQuantitationType.fromString(fields[LoadSimpleExpressionDataCli.Q_TYPE_I]);
    metaData.setType(sQType);
    ScaleType sType = ScaleType.fromString(fields[LoadSimpleExpressionDataCli.Q_SCALE_I]);
    metaData.setScale(sType);
}
Also used : ScaleType(ubic.gemma.model.common.quantitationtype.ScaleType) StandardQuantitationType(ubic.gemma.model.common.quantitationtype.StandardQuantitationType)

Aggregations

ScaleType (ubic.gemma.model.common.quantitationtype.ScaleType)1 StandardQuantitationType (ubic.gemma.model.common.quantitationtype.StandardQuantitationType)1