episcanpy.api.pl.rank_feat_groups_violin¶
- episcanpy.api.pl.rank_feat_groups_violin(adata, groups=None, n_features=20, feature_names=None, feature_symbols=None, use_raw=None, key='rank_features_groups', split=True, scale='width', strip=True, jitter=True, size=1, ax=None, show=None, save=None)¶
Plot ranking of features for all tested comparisons.
- Parameters
- adata
Annotated data matrix.
- groups
List of group names.
- n_features
Number of features to show. Is ignored if feature_names is passed.
- feature_names
List of features to plot. Is only useful if interested in a custom feature list, which is not the result of
epi.tl.rank_features()
.- feature_symbols
Key for field in .var that stores feature symbols if you do not want to use .var_names displayed in the plot.
- use_raw : bool, optional (default: None)
Use raw attribute of adata if present. Defaults to the value that was used in
rank_genes_groups()
.- split
Whether to split the violins or not.
- scale
See
violinplot()
.- strip
Show a strip plot on top of the violin plot.
- jitter
If set to 0, no points are drawn. See
stripplot()
.- size
Size of the jitter points.
- {show_save_ax}