visualizer
- pyrnaither.visualization.visualizer.get_complementary_color(color)[source]
Returns the complementary color of the given color.
- Args:
color: The color to get the complementary color of.
- Returns:
The complementary color of the given color.
- pyrnaither.visualization.visualizer.plot_96_well_plate_with_intensity(data, meta=None, title='', scale=1.5, cbar_label=None)[source]
Plots a 96-well plate with color-coded intensity.
- Args:
data: The data to plot. meta: The metadata to use for annotation. title: The title of the plot. scale: The scale of the plot. cbar_label: The label for the colorbar.
- Returns:
None
- pyrnaither.visualization.visualizer.spatial_distrib(header, dataset, plot_title, col4plot, col4anno, show_plot)[source]
Plot spatial distribution of values per plate and experiment.
- Args:
header: The header of the dataset. dataset: The dataset to plot. plot_title: The title of the plot. col4plot: The column to plot. col4anno: The column to group replicates by. show_plot: Whether to show the plot.
- Returns:
(basic_plot_name, (min_screen, max_screen), (min_plate, max_plate)).
- Return type:
Tuple[str,Tuple[int,int],Tuple[int,int]]- Parameters:
header (List[str])
dataset (DataFrame)
plot_title (str)
col4plot (str)
col4anno (str)
show_plot (bool)