{'fraction_non_alphanumeric': 0.01927860696517413, 'fraction_numerical': 0.0, 'mean_word_length': 5.817796610169491, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Automatic Generation of Interactive Multidimensional Phase Portraits

Mathematical models formally and precisely represent biological mechanisms with complex dynamics. To understand the possible behaviors of such systems, phase portrait diagrams can be used to visualize their overall global dynamics across a domain. However, producing these phase portrait diagrams is a laborious process reserved to mathematical experts. Here, we developed a computational methodology to automatically generate phase portrait diagrams to study biological dynamical systems based on ordinary differential equations. The method only needs as input the variables and equations describing a multidimensional biological system and it automatically outputs for each pair of dependent variables a complete phase portrait diagram, including the critical points and their stability, the nullclines of the system, and a vector space of the trajectories. Crucially, the portraits generated are interactive, and the user can move the visualized planar slice, change parameters with sliders, and add trajectories in the phase and time domains, after which the diagrams are updated in real time. The method is available as a user-friendly graphical interface or can be accessed programmatically with a Mathematica package. The generated portraits and particular views can be saved as computable notebooks preserving the interactive functionality, an approach that can be adopted for reproducible science and interactive pedagogical materials. The method, code, and examples are freely-available at https://lobolab.umbc.edu/autoportrait.