In plotMotifs function:
To avoid infinity as a value for fold change, 1 was added to number of occurences of each motif found in the foreground and background target sequences before the normalization.
Added angle param for the rotation angle of the axis labels.
In getMotifs function:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.