src.plot.zebraness module#

zebraness(motif_trajectory_ensemble: MotifTrajectoryEnsemble, linestyle='-', color='b', axis=None)[source]#
nest_mean(rough_list: list) ndarray[source]#

arranges list of arrays such that all start at zeroth position and gives back mean of the occupied values.

system_level_motif_zebraness(motif_trajectory_ensembles: list, plotting_time_windows: list = None, plot_mean: list = [False], plot_parameters: list = [{'alpha': 0.3, 'color': 'b', 'label': 'Strand', 'linestyle': '-'}], plotpath: str = None, plotformats: list = ['.pdf'], annotation: dict = {'text': '', 'textcoords': 'offset fontsize', 'verticalalignment': 'top', 'xy': (0, 1), 'xycoords': 'axes fraction', 'xytext': (0.5, -0.5)})[source]#

plots system level motif zebraness, i.e. the fraction of alternating 2-mers in the whole motif reactor.

Parameters:#

motif_trajectory_ensemble : list of MotifTrajectoryEnsemble plotting_time_windows : list = None, plot_mean : list

default: [False]

plot_parameterslist
of dicts of format {

‘linestyle’ : ‘-‘, ‘color’ : ‘b’, ‘alpha’ : 0.3, ‘label’ : ‘Strand’,

}

plotpathstr

default: None,

plotformatslist

default: [‘.pdf’],

annotationdict

default: { ‘text’:’’, ‘xy’:(0,1), ‘xycoords’:’axes fraction’, ‘xytext’:(+0.5,-0.5), ‘textcoords’:’offset fontsize’, ‘verticalalignment’:’top’},

Returns:#

None