Class UcscCellBrowserUtils
java.lang.Object
ubic.gemma.core.loader.expression.ucsc.cellbrowser.UcscCellBrowserUtils
- Author:
- poirigui
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DatasetgetDataset(String datasetId) static SingleCellExpressionDataMatrix<?> getDatasetDataMatrix(String datasetId, QuantitationType quantitationType, Map<String, CompositeSequence> designElementsMap, Map<String, BioAssay> cellIdToAssayMap, ProgressReporter progressReporter) Create a stream over the expression data matrix of a given dataset.static DatasetDescriptiongetDatasetDescription(String datasetId) getDatasetMetadata(String datasetId) Retrieve the metadata for a given dataset.getDatasetMetadata(String datasetId, String metaField) Retrieve the metadata for a specific field.static List<DatasetSummary> Obtain all the UCSC Cell Browser datasets.static StringgetDatasetUri(String datasetId) Construct a URL to access an UCSC Cell Browser dataset.
-
Constructor Details
-
UcscCellBrowserUtils
public UcscCellBrowserUtils()
-
-
Method Details
-
getDatasets
Obtain all the UCSC Cell Browser datasets.- Throws:
IOException
-
getDataset
- Throws:
IOException
-
getDatasetDescription
- Throws:
IOException
-
getDatasetUri
Construct a URL to access an UCSC Cell Browser dataset. -
getDatasetMetadata
public static Map<String,Map<String, getDatasetMetadataObject>> (String datasetId) throws IOException Retrieve the metadata for a given dataset.- Returns:
- a mapping of cell IDs to their metadata fields.
- Throws:
IOException
-
getDatasetMetadata
public static Map<String,Object> getDatasetMetadata(String datasetId, String metaField) throws IOException Retrieve the metadata for a specific field.- Returns:
- a mapping of cell IDs to the value of the specified metadata field.
- Throws:
IOException
-
getDatasetDataMatrix
public static SingleCellExpressionDataMatrix<?> getDatasetDataMatrix(String datasetId, QuantitationType quantitationType, Map<String, CompositeSequence> designElementsMap, Map<String, throws IOExceptionBioAssay> cellIdToAssayMap, ProgressReporter progressReporter) Create a stream over the expression data matrix of a given dataset.- Parameters:
designElementsMap-cellIdToAssayMap- mapping of cell IDs toBioAssaythey belong to- Throws:
IOException
-