Prepare x axis positions to layout samples. This enable incorporation of clinical timeline (eg. diagnostic time, surgery time, therapies, etc.) to be included in bell plots. This function will scale and create a list of xstart position and length of samples such that it maintain the positions provided in xstarts and xstops. Return a list of xstarts and lengths to be used in draw.sample.clones
1 2 3 |
xstarts: |
sample-named vector of x start positions |
xstops: |
sample-named vector of x stop positions |
total.length: |
total length of all sample in drawing |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.