itpseq.Sample.logo#
- Sample.logo(pos=None, logo_kwargs=None, ax=None, **kwargs)[source]#
Creates a logo for the selected positions.
- Parameters:
pos (tuple) – Positions to use in the logo (see
get_counts_ratio_pos)logo_kwargs (dict, optional) – Optional parameters to pass to logomaker.Logo.
ax (matplotlib.axes.Axes, optional) – ax to use for plotting, otherwise create a new figure.
kwargs (optional) – Optional parameters to pass to
get_counts_ratio_pos.
Examples
>>> tcx2.logo()