Class BioAssayUtils
java.lang.Object
ubic.gemma.model.expression.bioAssay.BioAssayUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateBioAssayToSourceBioAssayMap
(BioAssaySet sourceAssaySet, Collection<BioAssay> bas) Create a mapping between assays and their source assays from a givenBioAssaySet
.static Map
<Category, Map<BioAssay, Collection<Characteristic>>> createCharacteristicMap
(Collection<BioAssay> assays) Create a mapping of biomaterial to characteristics for each category.
-
Constructor Details
-
BioAssayUtils
public BioAssayUtils()
-
-
Method Details
-
createBioAssayToSourceBioAssayMap
public static Map<BioAssay,BioAssay> createBioAssayToSourceBioAssayMap(BioAssaySet sourceAssaySet, Collection<BioAssay> bas) Create a mapping between assays and their source assays from a givenBioAssaySet
.If an assay has more than one corresponding source assay or no source assay at all, it is ignored and logged as a warning.
-
createCharacteristicMap
public static Map<Category,Map<BioAssay, createCharacteristicMapCollection<Characteristic>>> (Collection<BioAssay> assays) Create a mapping of biomaterial to characteristics for each category.Unlike
BioMaterial
s, assays do not hold a collection of characteristics and instead have a few fields that are converted to characteristics.- See Also:
-