Nothing
`maf` <- function(x) {
# compute the minor allele frequency for a vector or for each row of a matrix.
if(is.vector(x)) {
p <- (x[1]+0.5*x[2])/sum(x)
y <- min(p,1-p)
} else
if(is.matrix(x)) {
p <- (x[,1]+0.5*x[,2])/apply(x,1,sum)
y <- pmin(p,1-p)
}
return(y)
}
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.