plot_protein_westernblots#

RAPDOR.plots.plot_protein_westernblots(rapdorids, rapdordata: RAPDORData, colors, title_col: str = 'RAPDORid', vspace: float = 0.01, scale_max: bool = True)#

Plots a figure containing a pseudo westernblot of the protein distribution.

This will ignore smoothing kernels and plots raw mean replicate intensities. It will also normalize subplot colors based on the maximum intensity.

Parameters:
  • rapdorids (List[any]) – RAPDORids that should be plotted

  • rapdordata (RAPDORData) – a RAPDORData object containing the IDs from rapdorids

  • colors (Iterable[str]) – An iterable of color strings to use for plotting

  • title_col (str) – Name of a column that is present of the dataframe in rapdordata. Will add this column as a subtitle in the plot (Default: RAPDORid)

  • vspace (float) – Vertical space between subplots

Returns: go.Figure

A plotly figure containing a pseudo westernblot of the protein distribution for each protein identified via the rapdorids.