Class DatasetsWebService.PcLoadingsValueObject
java.lang.Object
ubic.gemma.rest.DatasetsWebService.PcLoadingsValueObject
- Enclosing class:
DatasetsWebService
Wire shape for
DatasetsWebService.getDatasetSvdLoadings(DatasetArg, Integer, Integer, DatasetsWebService.PcLoadingDirection): the top-N probe loadings on a principal
component plus the bioAssay scores on the same PC.- Author:
- tesarst
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionPcLoadingsValueObject(int pc, List<DatasetsWebService.PcLoadingsValueObject.Row> rows, Map<Long, Double> bioAssayScores) Creates a newPcLoadingsValueObjectinstance. -
Method Summary
Modifier and TypeMethodDescriptionbooleanfrom(int pc, int top, DatasetsWebService.PcLoadingDirection direction, Map<ProbeLoading, DoubleVectorValueObject> loaded, SVDResult svd, Function<Collection<Long>, Map<Long, Gene>> geneResolver) Map of bioAssay id to the assay's score on this PC.intgetPc()1-indexed principal component number this payload is for.getRows()Top-N probe loadings, sorted by |loading| desc (direction=both), descending loading (positive), or ascending loading (negative).inthashCode()toString()
-
Constructor Details
-
PcLoadingsValueObject
public PcLoadingsValueObject(int pc, List<DatasetsWebService.PcLoadingsValueObject.Row> rows, Map<Long, Double> bioAssayScores) Creates a newPcLoadingsValueObjectinstance.- Parameters:
pc- 1-indexed principal component number this payload is for.rows- Top-N probe loadings, sorted by |loading| desc (direction=both), descending loading (positive), or ascending loading (negative).bioAssayScores- Map of bioAssay id to the assay's score on this PC. Pulled from the SVDResult's v-matrix column for the requested PC.
-
-
Method Details
-
from
public static DatasetsWebService.PcLoadingsValueObject from(int pc, int top, DatasetsWebService.PcLoadingDirection direction, Map<ProbeLoading, DoubleVectorValueObject> loaded, SVDResult svd, Function<Collection<Long>, Map<Long, Gene>> geneResolver) -
getPc
public int getPc()1-indexed principal component number this payload is for. -
getRows
Top-N probe loadings, sorted by |loading| desc (direction=both), descending loading (positive), or ascending loading (negative). -
getBioAssayScores
-
equals
-
hashCode
-
toString
-