gcell.dna.motif.Motif.plot_logo#
- Motif.plot_logo(filename=None, format='png', size='large', ic_scale=True, ic_ref=0.2, ylabel='', show_xaxis=False, show_yaxis=False, show_ends=False, rotate_numbers=False, color_scheme='classic', logo_title='', fineprint='')[source]#
plot seqlogo of motif using pfm file
- Parameters:
- filename str, optional
The path to the file to save the logo, defaults to None
- format str, optional
The format to save the logo, defaults to “png”
- size str, optional
The size of the logo, defaults to “large”
- ic_scale bool, optional
Whether to scale the information content, defaults to True
- ic_ref float, optional
The reference information content, defaults to 0.2
- ylabel str, optional
The label for the y-axis, defaults to “”
- show_xaxis bool, optional
Whether to show the x-axis, defaults to False
- show_yaxis bool, optional
Whether to show the y-axis, defaults to False
- show_ends bool, optional
Whether to show the ends, defaults to False
- rotate_numbers bool, optional
Whether to rotate the numbers, defaults to False
- color_scheme str, optional
The color scheme to use, defaults to “classic”
- logo_title str, optional
The title of the logo, defaults to “”
- fineprint str, optional
The fineprint to add to the logo, defaults to “”
Notes
If logo_title is “id”, the cluster ID will be used as the title.
For more detailed documentation, see http://weblogo.threeplusone.com/manual.html