moonstone.analysis.differential_analysis.DifferentialAnalysis

class moonstone.analysis.differential_analysis.DifferentialAnalysis(metadata_dataframe, read_count_dataframe)[source]

Perform differential analysis using chosen method.

__init__(metadata_dataframe, read_count_dataframe)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(metadata_dataframe, …)

Initialize self.

corrected_p_values(p_value_serie, …)

Some available methods are: - ‘bonferroni’ : one-step correction - ‘fdr_bh’ : Benjamini/Hochberg (non-negative)

differential_analysis_by_feature(features, …)

Features should be provided in a list splited by dichotomic or multiple option features.

test_default(*args, **kwargs)

test_dichotomic_features(feature, test_to_use)

test_multiple_features(feature, test_to_use)

Attributes

available_tests

number_columns_to_skip

tests_functions_used