tdm.plot.preprocess.ki67.plot_fraction_of_dividing_cells#

tdm.plot.preprocess.ki67.plot_fraction_of_dividing_cells(single_cell_df: DataFrame, cell_type_col: str = 'cell_type', division_col: str = 'division')[source]#

Display the fraction of dividing cells of each type.

Parameters:
  • single_cell_df (pd.DataFrame) – dataframe with row per cell, and columns for cell type and division.

  • cell_type_col (str, optional) – name of the cell-type column. Defaults to CELL_TYPE_COL.

  • division_col (str, optional) – name of the division column. Defaults to DIVISION_COL.