View source: R/setup_muscles.r
generate_MUs | R Documentation |
Set up the muscle structure by generating motor units (MUs) and their contained muscle fibers according to the given configuration.
generate_MUs(muscles)
muscles |
A data.frame containing information on the muscle properties. Will usually be generated by a call to convert_muscle_list_to_df. |
Generates a set of MUs parameters following an exponential distribution with muscle-specific parameters and then gathers all the MUs generated for the different muscles in a single data.frame.
A data.frame containing categorical columns 'muscle' and 'MU' giving the corresponding indices and 'MU.obj' containing the actual MU objects. These in turn have a property $fibers that contains a list of the muscle fibers contained in that MU. No geometrical information is present at this stage.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.