/* * #%L * gitools-core * %% * Copyright (C) 2013 Universitat Pompeu Fabra - Biomedical Genomics group * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public * License along with this program. If not, see * <http://www.gnu.org/licenses/gpl-3.0.html>. * #L% */ package org.gitools.analysis.combination; import org.gitools.analysis.Analysis; import org.gitools.api.matrix.IMatrix; import org.gitools.api.modulemap.IModuleMap; import org.gitools.api.resource.ResourceReference; import org.gitools.api.resource.adapter.ResourceReferenceXmlAdapter; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; @XmlRootElement public class CombinationAnalysis extends Analysis { private String sizeLayer; private String valueLayer; private boolean transposeData; @XmlJavaTypeAdapter(ResourceReferenceXmlAdapter.class) private ResourceReference<IModuleMap> groupsMap; @XmlJavaTypeAdapter(ResourceReferenceXmlAdapter.class) private ResourceReference<IMatrix> data; @XmlJavaTypeAdapter(ResourceReferenceXmlAdapter.class) private ResourceReference<IMatrix> results; public CombinationAnalysis() { this.transposeData = false; } public String getSizeLayer() { return sizeLayer; } public void setSizeLayer(String sizeLayer) { this.sizeLayer = sizeLayer; } public String getValueLayer() { return valueLayer; } public void setValueLayer(String valueLayer) { this.valueLayer = valueLayer; } public boolean isTransposeData() { return transposeData; } public void setTransposeData(boolean transposeData) { this.transposeData = transposeData; } public ResourceReference<IModuleMap> getGroupsMap() { return groupsMap; } public void setGroupsMap(ResourceReference<IModuleMap> groupsMap) { this.groupsMap = groupsMap; } public ResourceReference<IMatrix> getData() { return data; } public void setData(ResourceReference<IMatrix> data) { this.data = data; } public ResourceReference<IMatrix> getResults() { return results; } public void setResults(ResourceReference<IMatrix> results) { this.results = results; } }