gcell.cell.celltype.Celltype.get_tf_exp_mean

gcell.cell.celltype.Celltype.get_tf_exp_mean#

Celltype.get_tf_exp_mean(motif, m)[source]#

Calculate the mean expression of transcription factors (TFs) for a given motif and cluster.

Parameters: motif (Motif): The motif object containing information about the motif and associated genes. m (int): The cluster index for which the mean TF expression is to be calculated.

Returns: float: The mean expression of TFs for the given motif and cluster.