TrajAtlas.utils.attrTTest#

TrajAtlas.utils.attrTTest(adata, group1Name, group2Name, alpha=0.05, method='fdr_bh')[source]#

Perform t-test to attribute with FDR correction.

See also

identified gene expression program associated with differentiated genes.

Parameters:
  • adata (AnnData) –

  • object. (Annotated data) –

  • group1Name (List) – Sample name of group1

  • group2Name (List) – Sample name of group2

  • alpha (float) – Significance level for FDR correction.

  • method (str) – Method for multiple testing correction. Default is ‘fdr_bh’.

Returns:

Dataframe of t-test statistics with FDR-corrected p-values.