Nothing
ppmToPt <-
function(ppmValues, firstPtPpm, resolution){
if(nargs() < 2 | missing(firstPtPpm))
{stop('nargs < 2 || missing(firstPtPpm)')}
if(nargs() < 3 | missing(resolution))
{resolution <- ppmValues[2] - ppmValues[1]}
if(length(firstPtPpm)>1)
{stop(paste('First ppm should be a number, got non-scalar value:', firstPtPpm))}
if(length(resolution)>1)
{stop(paste('Resolution ppm should be a number, got non-scalar value:', resolution))}
ppmShift <- ppmValues - firstPtPpm
pt <- round(ppmShift / resolution) + 1
return(pt)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.