flotilla.visualize.generic module

flotilla.visualize.generic.barplot(data, color=None, x_order=None, ax=None, title='', **kwargs)[source]
flotilla.visualize.generic.nmf_space_transitions(nmf_space_positions, feature_id, phenotype_to_color, phenotype_to_marker, order, ax=None, xlabel=None, ylabel=None)[source]
flotilla.visualize.generic.plot_pooled_dot(ax, pooled, x_offset=0, label=False)[source]
Parameters:

ax : matplotlib.axes.Axes

Axes object to plot on

pooled : pandas.Series

Pooled data of this gene

flotilla.visualize.generic.simple_twoway_scatter(sample1, sample2, **kwargs)[source]

Plot a two-dimensional scatterplot between two samples

Parameters:

sample1 : pandas.Series

Data to plot on the x-axis

sample2 : pandas.Series

Data to plot on the y-axis

Any other keyword arguments valid for seaborn.jointplot

Returns:

jointgrid : seaborn.axisgrid.JointGrid

Returns a JointGrid instance

See Also

seaborn.jointplot

flotilla.visualize.generic.violinplot(data, groupby=None, color_ordered=None, ax=None, pooled_data=None, order=None, violinplot_kws=None, title=None, label_pooled=False, outliers=None, data_type=None)[source]
Parameters:

data : pandas.Series

The main data to plot

groupby : dict-like

How to group the samples (e.g. by phenotype)

color_ordered : list

Olga B. Botvinnik is funded by the NDSEG fellowship and is a NumFOCUS John Hunter Technology Fellow.
Michael T. Lovci was partially funded by a fellowship from Genentech.
Partially funded by NIH grants NS075449 and HG004659 and CIRM grants RB4-06045 and TR3-05676 to Gene Yeo.