test_de
hnoca.stats.de.test_de(adata, group, covar, num_threads=1, return_coef_group=None, var_names=None, adjust_method='holm')
Test for differential expression using ANOVA
Parameters:
Name | Type | Description | Default |
---|---|---|---|
adata
|
AnnData
|
AnnData object |
required |
group
|
str | Series
|
str or pd.Series The group labels |
required |
covar
|
str | DataFrame
|
str or pd.DataFrame The covariates |
required |
num_threads
|
int
|
int The number of threads to use |
1
|
return_coef_group
|
str | None
|
str The group to return coefficients for |
None
|
var_names
|
list | None
|
list The variable names to test |
None
|
adjust_method
|
str
|
str The method to adjust p-values. See https://www.statsmodels.org/dev/generated/statsmodels.stats.multitest.multipletests.html |
'holm'
|
Returns
A `pd.DataFrame` with the differential expression results