msmu.tl.StatTestResult
Data class to store results from statistical tests in DEA.
Attributes:
| Name | Type | Description |
|---|---|---|
stat_method |
str
|
The statistical method used. |
ctrl |
str
|
Name of the control group. |
expr |
str
|
Name of the experimental group. |
features |
str
|
List or array of feature names. |
median_ctrl |
str
|
Median values for the control group. |
median_expr |
str
|
Median values for the experimental group. |
pct_ctrl |
str
|
Percentage of non-zero values in the control group. |
pct_expr |
str
|
Percentage of non-zero values in the experimental group. |
log2fc |
str
|
Log2 fold change between experimental and control groups. |
p_value |
ndarray | None
|
P-values from the statistical test. |
q_value |
ndarray | None
|
Adjusted p-values (q-values) after multiple testing correction. |
Methods:
| Name | Description |
|---|---|
to_df |
Convert the results to a pandas DataFrame. |
plot_volcano |
Plot a volcano plot of the DEA results. |