Class DataLoaderConfig.DataLoaderConfigBuilder<C extends DataLoaderConfig,B extends DataLoaderConfig.DataLoaderConfigBuilder<C,B>>
java.lang.Object
ubic.gemma.core.loader.expression.DataLoaderConfig.DataLoaderConfigBuilder<C,B>
- Direct Known Subclasses:
SequencingDataLoaderConfig.SequencingDataLoaderConfigBuilder
- Enclosing class:
DataLoaderConfig
public abstract static class DataLoaderConfig.DataLoaderConfigBuilder<C extends DataLoaderConfig,B extends DataLoaderConfig.DataLoaderConfigBuilder<C,B>>
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Cbuild()Load data from that specific path instead of looking up standard locations.markQuantitationTypeAsPreferred(boolean markQuantitationTypeAsPreferred) Mark the QT as preferred.markQuantitationTypeAsRecomputedFromRawData(boolean markQuantitationTypeAsRecomputedFromRawData) Mark the quantitation type as recomputed from raw data.quantitationTypeName(String quantitationTypeName) Name of the QT to use if more than one is present in the data as perDataLoader.getQuantitationTypes().quantitationTypeNewName(String quantitationTypeNewName) Override the name of the resulting QT.quantitationTypeNewScaleType(ScaleType quantitationTypeNewScaleType) Override the scale type of the resulting QT.quantitationTypeNewType(StandardQuantitationType quantitationTypeNewType) Override the type of the resulting QT.renamingFile(Path renamingFile) A file containing a mapping of sample names to bioassay names.replaceExistingQuantitationType(boolean replaceExistingQuantitationType) Replace the vectors of an existing QT.protected abstract Bself()toString()
-
Constructor Details
-
DataLoaderConfigBuilder
public DataLoaderConfigBuilder()
-
-
Method Details
-
dataPath
Load data from that specific path instead of looking up standard locations.- Returns:
this.
-
quantitationTypeName
Name of the QT to use if more than one is present in the data as perDataLoader.getQuantitationTypes().This may be set to null, in which case the loader must only detect a single QT.
- Returns:
this.
-
replaceExistingQuantitationType
Replace the vectors of an existing QT.Requires
quantitationTypeNameto be set.- Returns:
this.
-
quantitationTypeNewName
Override the name of the resulting QT.- Returns:
this.
-
quantitationTypeNewType
Override the type of the resulting QT.- Returns:
this.
-
quantitationTypeNewScaleType
Override the scale type of the resulting QT.- Returns:
this.
-
markQuantitationTypeAsRecomputedFromRawData
public B markQuantitationTypeAsRecomputedFromRawData(boolean markQuantitationTypeAsRecomputedFromRawData) Mark the quantitation type as recomputed from raw data.- Returns:
this.- See Also:
-
markQuantitationTypeAsPreferred
Mark the QT as preferred.All other QTs of the same kind will be set to non-preferred as a result.
- Returns:
this.- See Also:
-
renamingFile
A file containing a mapping of sample names to bioassay names.- Returns:
this.- See Also:
-
self
-
build
-
toString
-