evolocity.pl.residue_categories

evolocity.pl.residue_categories(adata, positions=None, n_plot=5, namespace='residue_categories', reference=None, verbose=True)

Scatter plot of mutations.

Plots the mutations with the strongest association with evolocity in a scatter plot. Requires running evo.tl.residue_scores first.

Parameters
adata : AnnData

Annotated data matrix.

positions : list (default: None)

Positions to visualize; if None, will use the n_plot top positions.

n_plot : int (default: 5)

Number of positions to plot.

namespace : str (default: ‘residue_categories’)

Namespace for generated plot files.

verbose : bool (default: True)

Print information about plotted sites.