cytonormpy._dataset.DataProvider#
- class cytonormpy._dataset.DataProvider(metadata, channels, transformer)#
Base class for the data provider.
Attributes
Methods
annotate_metadata(data, file_name)annotate_metadata_old(data, file_name)Annotates metadata (sample identifier, batch value and reference value) to the expression data.
inverse_transform_data(data)Inverse transforms the data according to the transformer added upon instantiation.
parse_raw_data(file_name)prep_dataframe(file_name)Prepares the dataframe by annotating metadata, selecting the relevant channels and transforming.
select_channels(data)Subsets the channels in a dataframe.
subsample_df(df, n)transform_data(data)Transforms the data according to the transformer added upon instantiation.