coalispr.bedgraph_analyze.info_plots

Module to plot info on program parameters or mapped data.

Attributes

Functions

show_regions_vs_settings(tag, notitles)

For picking some good value, keeping enough but no too many.

show_mapped_vs_unmapped(tag, group, showdiscards, notitles)

Provide a quick impression of sequencing data.

Module Contents

coalispr.bedgraph_analyze.info_plots.logger
coalispr.bedgraph_analyze.info_plots.show_regions_vs_settings(tag, notitles)

For picking some good value, keeping enough but no too many.

Returns:

Plots showing effects of changing parameters on number of regions identified for 1. TAGUNCOLL and 2. TAGCOLL reads; can be saved as png or svg.

Return type:

Two diagrams with seaborn plots

coalispr.bedgraph_analyze.info_plots.show_mapped_vs_unmapped(tag, group, showdiscards, notitles, log2=False)

Provide a quick impression of sequencing data.

Parameters:
  • tag (str) – Label marking type of reads analyzed: TAGCOLL or TAGUNCOLL.

  • group (str) – Name determining grouping of samples, either CATEGORY, METHOD or FRACTION.

  • log2 (bool) – Use log2 scale if True.

Returns:

Plots showing total input numbers of mapped and unmapped (if available) reads; can be saved as png or svg.

Return type:

Diagrams with seaborn barh plots for collapsed or uncollapsed data;