pilotpy.tl.results_gene_cluster_differentiation
- pilotpy.tl.results_gene_cluster_differentiation(cluster_name=None, sort_columns=['pvalue'], ascending=[True], threshold=0.5, p_value=0.01)
Retrieve and sort gene cluster statistics based on specified criteria.
- Parameters:
- cluster_namestr, optional
The name of the gene cluster to retrieve statistics for. Default is None.
- sort_columnslist of str, optional
List of column names to sort the data by. Default is [‘pvalue’].
- ascendinglist of bool, optional
List indicating sorting order for each corresponding column. Default is [True].
- threshold: float, optional
Select genes with fold changes higher than the defined threshold. Default is 0.5.
- p_value: float, optional
Select genes with the Wald test p-value less than the defined one. Default is 0.01.
- Returns:
- pandas.DataFrame
A sorted dataframe containing gene cluster statistics based on the specified criteria.