eugene.plot.scatterplot¶
- eugene.plot.scatterplot(sdata, x, y, seq_idx=None, return_axes=False, **kwargs)¶
Plots a scatterplot of two columns in seqs_annot using Seaborn.
This function can be used to show the relationship between two columns of seqs_annot within a SeqData. If seq_idx is provided then only the sequences with the given indices are plotted.
- Parameters:
sdata (SeqData) – SeqData object.
x (str) – Key for x-axis.
y (str) – Key for y-axis.
seq_idx (int or list of int) – Index of sequences to plot.
**kwargs (dict) – Additional keyword arguments to pass to _plot_seaborn.
- Return type:
None