Visualization modules
Set of python classes and functions to enable visualizing CRISPR screening datasets.
- screenpro.plotting.qc_plots.plotReplicateScatter(ax, adat_in, x, y, title, min_val=None, max_val=None, log_transform=True, **args)[source]
- screenpro.plotting.pheno_plots.label_as_black(ax, df_in, label, x_col='score', y_col='-log10(pvalue)', size=2, size_txt='auto', t_x=0.5, t_y=-0.1, **args)[source]
- screenpro.plotting.pheno_plots.label_by_color(ax, df_in, label, x_col, y_col, size=2, size_txt='auto', edgecolors='black', facecolors='black', textcolor='black', t_x=0.5, t_y=-0.1, **args)[source]
- screenpro.plotting.pheno_plots.label_resistance_hit(ax, df_in, label, x_col='score', y_col='-log10(pvalue)', size=2, size_txt='auto', t_x=0.5, t_y=-0.1, **args)[source]
- screenpro.plotting.pheno_plots.label_sensitivity_hit(ax, df_in, label, x_col='score', y_col='-log10(pvalue)', size=2, size_txt='auto', t_x=0.5, t_y=-0.1, **args)[source]
- screenpro.plotting.pheno_plots.volcano_plot(ax, df, up_hit, down_hit, score_col='score', pvalue_col='pvalue', xlabel='phenotype score', ylabel='-log10(pvalue)', dot_size=1, xlims='auto', ylims='auto', ctrl_label='negative_control', **args)[source]
- class screenpro.dashboard.DrugScreenDashboard(screen, treated, untreated, t0='T0', threshold=3, ctrl_label='negative_control', run_name='auto')[source]
Bases:
DataDashboard- GammaVolcanoPlot(x_source='gamma_score', y_source='-log10(gamma_pvalue)', xaxis_label='phenotype score', yaxis_label='-log10(p-value)', up_hit='up_hit', down_hit='essential_hit', hit_label_col='gamma_label', x_min=-2.5, x_max=2.5, y_min=0, y_max='auto', return_html=True, **kwargs)[source]