plot_barcode_plot#

RAPDOR.plots.plot_barcode_plot(subdata, design: pandas.DataFrame, colors=None, vspace: float = 0.025, fractions=None, scale_max: bool = True)#

Creates a Westernblot like plot from the mean of protein intensities

Parameters:
  • subdata (np.ndarray) – an array of shape num samples x num_fractions. Rows don´t need to add up to one

  • design (pd.Dataframe) – the design dataframe to distinguish the groups from the samples dimension

  • offset (int) – adds this offset to the fractions at the x-axis range

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

  • vspace (float) – vertical space between westernblots (between 0 and 1)

Returns: go.Figure

A figure containing two subplots of heatmaps of the non normalized intensities.