load_plibdata¶
- load_plibdata(contexts_ids, preprocessing_type='mean_aggregation', plibdata_type=<class 'perturb_lib.data.plibdata.InMemoryPlibData'>)[source]¶
Load data from given context(s) as
PlibData
.Note
Triggers data caching.
- Parameters:
contexts_ids (
str
|Sequence
[str
]) – Either a list of context identifiers that will be stacked together, or a single context id. Ifidentifier (no match is found for an)
included. (all identifiers that contain that substring will be)
preprocessing_type (
Literal
['raw'
,'median_aggregation'
,'mean_aggregation'
,'standard_preprocessing'
]) – The type of preprocessing to apply.plibdata_type (
type
[PlibData
]) – The type ofPlibData
to use.
- Return type:
- Returns:
An instance of a
PlibData
that has columns [context, perturbation, readout, value].