Class FactorValueUtils
java.lang.Object
ubic.gemma.model.expression.experiment.FactorValueUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic StringProduce a summary string for this factor value.static StringgetSummaryString(FactorValue fv, String statementDelimiter) static StringgetSummaryString(FactorValue fv, Characteristic category, String statementDelimiter) static StringgetValue(FactorValue fv, String delimiter) Produce a value for representing a factor value.static String[]getValues(FactorValue fv) static booleanCheck if a factor value marks its samples for exclusion from differential expression analysis.static booleanCheck if a factor value is one of the two DE_Include/DE_Exclude markers.
-
Field Details
-
DE_INCLUDE_URI
URI ofTGEMO_00013 DE_Include, which marks samples to keep in a differential expression analysis.- See Also:
-
DE_EXCLUDE_URI
URI ofTGEMO_00014 DE_Exclude, which marks samples to leave out of a differential expression analysis.- See Also:
-
-
Constructor Details
-
FactorValueUtils
public FactorValueUtils()
-
-
Method Details
-
isDeExcluded
Check if a factor value marks its samples for exclusion from differential expression analysis. -
isDeIncludeExcludeMarker
Check if a factor value is one of the two DE_Include/DE_Exclude markers. -
getValue
Produce a value for representing a factor value.For continuous factors, this will return the value of the measurement. For categorical factors, this will be the subject (or |-delimited concatenation of subjects) of the statements. If there are no statements,
FactorValue.getValue()will be used as a fallback.This value is suitable for displaying in a flat file format. If you need a human-readable summary of the factor value, consider using
getSummaryString(FactorValue)instead.- Parameters:
delimiter- delimiter used when joining multiple values from statements
-
getValues
-
getSummaryString
Produce a summary string for this factor value. -
getSummaryString
-
getSummaryString
public static String getSummaryString(FactorValue fv, @Nullable Characteristic category, String statementDelimiter) -
getSummaryString
-