DE#
- class brisc.DE(source=None, /, *, table, voom_weights=None, voom_plot_data=None)[source]#
Differential expression results returned by Pseudobulk.DE().
- Parameters:
source : str | Path | None
table : pl.DataFrame
voom_weights : dict[str, pl.DataFrame] | None
voom_plot_data : dict[str, pl.DataFrame] | None
I/O#
Initialize the DE object. |
|
Save a DE object to directory (which must not exist unless overwrite=True, and will be created) with the table at table.parquet. |
Properties#
a dictionary mapping cell type names to group names used by voomByGroup for that cell type, or None if voomByGroup was not used for that cell type. |
Analysis#
Get all (or the top) differentially expressed genes. |
|
Get the number of differentially expressed genes in each cell type. |
|
Generate a voom plot for a cell type that differential expression was calculated for. |
|
Generate a volcano plot of the DE hits, with negative log p-values (or another significance_column) on the y-axis plotted against log fold changes on the x-axis. |