sc_toolbox.tools.add_percentages# sc_toolbox.tools.add_percentages(adata, table, ids, group_by, threshold=0, gene_label='gene')[source]# Add columns to existing diffxpy table specifying percentage of expressing cells. Parameters: adata – AnnData object containing the data table – Table as generated by diffxpy ids – Identifiers to add percentages for. group_by (str) – Label to group by threshold (int) – Cell count threshold. gene_label (str) – Label of the genes Returns: Table containing percentage of expressing cells