Record Class SampleCorrelationAnalysisPayload
- All Implemented Interfaces:
AuditEventPayload
SampleCorrelationAnalysisEvent writes: the
row-and-column attrition of the expression matrix as each filter was
applied, plus the filter configuration that produced it.
Why this event carries it
Filtering is not a step of preprocessing and is not stored on the
experiment. ExpressionExperimentFilterConfig is built fresh at each
callsite and ExpressionExperimentFilterResult was, until this
payload, computed and discarded. The sample-correlation leg is where the
filter runs during every preprocessing run, so recording the result here
costs no extra work and no extra audit event.
🛑 These numbers describe the sample-correlation filter, not the download filter
The "Data (filtered)" download builds its own config with different
settings, so its attrition can differ — most visibly through
requireSequences, which drops rows. That is why config is
serialised alongside stages: the numbers are only interpretable
against the settings that produced them, and a reader who has only the
counts will assume they describe every filtered view of the dataset.
Written only from the run that computes the matrix. Datasets whose
correlation matrix predates this payload carry null, which means
"not recorded", never "nothing was filtered".
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordThe settings the filter ran under.static final recordOne rung of the attrition funnel, in the order the filters ran.Nested classes/interfaces inherited from interface AuditEventPayload
AuditEventPayload.None -
Constructor Summary
ConstructorsConstructorDescriptionSampleCorrelationAnalysisPayload(SampleCorrelationAnalysisPayload.FilterConfig config, List<SampleCorrelationAnalysisPayload.FilterStage> stages, int startingRows, int startingColumns, int finalRows, int finalColumns) Creates an instance of aSampleCorrelationAnalysisPayloadrecord class. -
Method Summary
Modifier and TypeMethodDescriptionconfig()Returns the value of theconfigrecord component.final booleanIndicates whether some other object is "equal to" this one.intReturns the value of thefinalColumnsrecord component.intReturns the value of thefinalRowsrecord component.final inthashCode()Returns a hash code value for this object.stages()Returns the value of thestagesrecord component.intReturns the value of thestartingColumnsrecord component.intReturns the value of thestartingRowsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SampleCorrelationAnalysisPayload
public SampleCorrelationAnalysisPayload(@Nullable SampleCorrelationAnalysisPayload.FilterConfig config, List<SampleCorrelationAnalysisPayload.FilterStage> stages, int startingRows, int startingColumns, int finalRows, int finalColumns) Creates an instance of aSampleCorrelationAnalysisPayloadrecord class.- Parameters:
config- the value for theconfigrecord componentstages- the value for thestagesrecord componentstartingRows- the value for thestartingRowsrecord componentstartingColumns- the value for thestartingColumnsrecord componentfinalRows- the value for thefinalRowsrecord componentfinalColumns- the value for thefinalColumnsrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
config
Returns the value of theconfigrecord component.- Returns:
- the value of the
configrecord component
-
stages
Returns the value of thestagesrecord component.- Returns:
- the value of the
stagesrecord component
-
startingRows
public int startingRows()Returns the value of thestartingRowsrecord component.- Returns:
- the value of the
startingRowsrecord component
-
startingColumns
public int startingColumns()Returns the value of thestartingColumnsrecord component.- Returns:
- the value of the
startingColumnsrecord component
-
finalRows
public int finalRows()Returns the value of thefinalRowsrecord component.- Returns:
- the value of the
finalRowsrecord component
-
finalColumns
public int finalColumns()Returns the value of thefinalColumnsrecord component.- Returns:
- the value of the
finalColumnsrecord component
-