verkkofillet.pl.plotHist_readOnNode#
- verkkofillet.pl.plotHist_readOnNode(nodeinfo, mergedb_all, loc_on_node, node, width=5, height=7, save=True, figName=None, **kwargs)[source]#
Generates a histogram showing the distribution of reads on a node.
- Parameters:
nodeinfo – A DataFrame containing information about the nodes.
mergedb_all – A DataFrame containing the merged data.
loc_on_node – A DataFrame containing the location of the node.
node – The node to plot.
width – Width of the plot. Default is 5.
height – Height of the plot. Default is 7.
save – If True, the plot is saved as a PNG file. Default is True.
figName – Name of the saved plot. Default is None. If None, the plot is saved as “figs/intra_telo.heatmap.png”.
kwargs – Additional arguments to pass to seaborn.histplot.