Class VisualizationValueObject
java.lang.Object
ubic.gemma.web.controller.visualization.VisualizationValueObject
Stores expression profile data from one expression experiment for plotting.
- Author:
- kelsey, paul
-
Constructor Summary
ConstructorsConstructorDescriptionVisualizationValueObject
(Collection<DoubleVectorValueObject> vectors, Collection<GeneValueObject> genes, Double minPvalue, Collection<DifferentialExpressionValueObject> validatedProbes) VisualizationValueObject
(Collection<DoubleVectorValueObject> vectors, List<GeneValueObject> genes, Collection<Long> validatedProbeList) VisualizationValueObject
(Collection<DoubleVectorValueObject> vectors, List<GeneValueObject> genes, Collection<Long> validatedProbeIdList, Double minPvalue) -
Method Summary
Modifier and TypeMethodDescriptiongetEevo()
void
void
setEEwithPvalue
(BioAssaySetValueObject ee, Double minP) void
setFactorNames
(LinkedHashMap<String, LinkedHashMap<String, String>> factorNames2) void
setFactorProfiles
(Collection<FactorProfile> factorProfiles) void
setFactorValues
(List<List<String>> factorValues) void
setFactorValuesToNames
(List<LinkedHashMap<String, String[]>> factorValueMaps2) void
setProfiles
(Collection<GeneExpressionProfile> profiles) void
setSampleNames
(List<String> sampleNames) void
setUpFactorProfiles
(LinkedHashMap<BioAssayValueObject, LinkedHashMap<ExperimentalFactor, Double>> layout) Initialize the factor profiles.toString()
-
Constructor Details
-
VisualizationValueObject
public VisualizationValueObject() -
VisualizationValueObject
public VisualizationValueObject(Collection<DoubleVectorValueObject> vectors, Collection<GeneValueObject> genes, Double minPvalue, Collection<DifferentialExpressionValueObject> validatedProbes) -
VisualizationValueObject
public VisualizationValueObject(Collection<DoubleVectorValueObject> vectors, List<GeneValueObject> genes, Collection<Long> validatedProbeList) - Parameters:
vectors
- to be plotted (should come from a single expression experiment)genes
- Is list so that order is guaranteed. Need this so that colors are consistent.validatedProbeList
- Probes which are flagged as 'valid' in some sense. For example, in coexpression plots these are probes that provided the coexpression evidence, to differentiate them from the ones which are just being displayed because they assay the same gene.- Throws:
IllegalArgumentException
- if vectors are mixed between EEs.
-
VisualizationValueObject
public VisualizationValueObject(Collection<DoubleVectorValueObject> vectors, List<GeneValueObject> genes, Collection<Long> validatedProbeIdList, Double minPvalue) -
VisualizationValueObject
-
-
Method Details
-
toString
-
setUpFactorProfiles
public void setUpFactorProfiles(LinkedHashMap<BioAssayValueObject, LinkedHashMap<ExperimentalFactor, Double>> layout) Initialize the factor profiles. -
getEevo
-
setEevo
-
getFactorNames
-
setFactorNames
-
getFactorProfiles
-
setFactorProfiles
-
getFactorValues
-
setFactorValues
-
getFactorValuesToNames
-
setFactorValuesToNames
-
getProfiles
-
setProfiles
-
getSampleNames
-
setSampleNames
-
setEEwithPvalue
-