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
# S3 method for sample.position
scale(xstarts, xstops, plot.total.length = 7,
evenly.distribute = TRUE)
sample-named vector of x start positions
sample-named vector of x stop positions
total length of all sample in drawing