Interface GeoConverter
- All Superinterfaces:
Converter<GeoData, Identifiable>
- All Known Implementing Classes:
GeoConverterImpl
- Author:
- paul
-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clear the state of the converter.convert(Collection<? extends GeoData> geoObjects) <T extends Identifiable>
Collection<T> convert(Collection<? extends GeoData> geoObjects, Class<T> dataType) Convert a collection of GeoData objects, retaining only elements of the specified data type.convert(GeoDataset geoDataset, boolean skipDataVectors) convert(GeoPlatform geoPlatform) voidconvertSubsetToExperimentalFactor(ExpressionExperiment expExp, GeoSubset geoSubSet) Converts Geo subsets to experimental factors.getPrimaryArrayTaxon(Collection<Taxon> platformTaxa, Collection<String> probeTaxa) voidsetElementLimitForStrictness(int i) voidsetForceConvertElements(boolean forceConvertElements) voidsetSplitByPlatform(boolean splitByPlatform)
-
Method Details
-
clear
void clear()Clear the state of the converter.Call this prior to starting conversion of a full dataset.
-
convert
- Specified by:
convertin interfaceConverter<GeoData, Identifiable>
-
convert
<T extends Identifiable> Collection<T> convert(Collection<? extends GeoData> geoObjects, Class<T> dataType) Convert a collection of GeoData objects, retaining only elements of the specified data type. -
convert
- Specified by:
convertin interfaceConverter<GeoData, Identifiable>
-
convert
-
convert
-
convert
-
convert
-
convertSubsetToExperimentalFactor
Converts Geo subsets to experimental factors. This adds a new factor value to the experimental factor of an experimental design, and adds the factor value to each BioMaterial of a specific BioAssay.- Parameters:
expExp- experimentgeoSubSet- geo subset
-
getPrimaryArrayTaxon
@Nullable Taxon getPrimaryArrayTaxon(Collection<Taxon> platformTaxa, Collection<String> probeTaxa) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
setSplitByPlatform
void setSplitByPlatform(boolean splitByPlatform) - Parameters:
splitByPlatform- If true, and the series uses more than one platform, split it up. This often isn't necessary/desirable. This is overridden if the series uses more than one species, in which case it is always split up.
-
setForceConvertElements
void setForceConvertElements(boolean forceConvertElements) - Parameters:
forceConvertElements- Set the behaviour when a platform that normally would not be loaded in detail is encountered, such as an Exon array.
-
setElementLimitForStrictness
void setElementLimitForStrictness(int i) - Parameters:
i- this is here for tests only. The default value should be okay otherwise.
-