# {py:mod}`ovo.app.utils.protein_qc_plots` ```{py:module} ovo.app.utils.protein_qc_plots ``` ```{autodoc2-docstring} ovo.app.utils.protein_qc_plots :allowtitles: ``` ## Module Contents ### Functions ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`load_histograms ` - ```{autodoc2-docstring} ovo.app.utils.protein_qc_plots.load_histograms :summary: ``` * - {py:obj}`load_plots_data ` - ```{autodoc2-docstring} ovo.app.utils.protein_qc_plots.load_plots_data :summary: ``` * - {py:obj}`get_precomputed_histogram_alt ` - ```{autodoc2-docstring} ovo.app.utils.protein_qc_plots.get_precomputed_histogram_alt :summary: ``` * - {py:obj}`update_bins ` - ```{autodoc2-docstring} ovo.app.utils.protein_qc_plots.update_bins :summary: ``` * - {py:obj}`get_histogram_alt ` - ```{autodoc2-docstring} ovo.app.utils.protein_qc_plots.get_histogram_alt :summary: ``` * - {py:obj}`combine_histograms ` - ```{autodoc2-docstring} ovo.app.utils.protein_qc_plots.combine_histograms :summary: ``` * - {py:obj}`descriptor_histograms ` - ```{autodoc2-docstring} ovo.app.utils.protein_qc_plots.descriptor_histograms :summary: ``` * - {py:obj}`format_threshold_value ` - ```{autodoc2-docstring} ovo.app.utils.protein_qc_plots.format_threshold_value :summary: ``` ```` ### API ````{py:function} load_histograms() -> typing.Dict[str, typing.Dict[str, typing.Dict[str, typing.List[float]]]] :canonical: ovo.app.utils.protein_qc_plots.load_histograms ```{autodoc2-docstring} ovo.app.utils.protein_qc_plots.load_histograms ``` ```` ````{py:function} load_plots_data(file_path: str) -> dict :canonical: ovo.app.utils.protein_qc_plots.load_plots_data ```{autodoc2-docstring} ovo.app.utils.protein_qc_plots.load_plots_data ``` ```` ````{py:function} get_precomputed_histogram_alt(bins: numpy.ndarray, y: numpy.ndarray, color_by: str = 'density', thresholds: typing.List[float] = None, reverse_colors: bool = False, width: int = None, height: int = None, title: str = None) -> altair.Chart :canonical: ovo.app.utils.protein_qc_plots.get_precomputed_histogram_alt ```{autodoc2-docstring} ovo.app.utils.protein_qc_plots.get_precomputed_histogram_alt ``` ```` ````{py:function} update_bins(values: typing.List[float], source_bins: typing.List[float]) -> typing.List[float] :canonical: ovo.app.utils.protein_qc_plots.update_bins ```{autodoc2-docstring} ovo.app.utils.protein_qc_plots.update_bins ``` ```` ````{py:function} get_histogram_alt(values: typing.List[float], bins: typing.List[float] = None, width: int = None, color: str = 'black', title: str = None) -> altair.Chart :canonical: ovo.app.utils.protein_qc_plots.get_histogram_alt ```{autodoc2-docstring} ovo.app.utils.protein_qc_plots.get_histogram_alt ``` ```` ````{py:function} combine_histograms(histogram1: altair.Chart, histogram2: altair.Chart, how: str, title=None) -> altair.Chart :canonical: ovo.app.utils.protein_qc_plots.combine_histograms ```{autodoc2-docstring} ovo.app.utils.protein_qc_plots.combine_histograms ``` ```` ````{py:function} descriptor_histograms(histograms: dict, descriptor_name: str, histogram_source: str, color_by: str, thresholds: typing.List[float], reverse_colors: bool, values: typing.List[float], precomputed_histogram_height: int = 250, pool_histogram_height: int = 100, overlay: bool = False) :canonical: ovo.app.utils.protein_qc_plots.descriptor_histograms ```{autodoc2-docstring} ovo.app.utils.protein_qc_plots.descriptor_histograms ``` ```` ````{py:function} format_threshold_value(descriptor_name: str, value) -> str :canonical: ovo.app.utils.protein_qc_plots.format_threshold_value ```{autodoc2-docstring} ovo.app.utils.protein_qc_plots.format_threshold_value ``` ````