Rbed$methods(
checkbedsize = function() {
realsize = file.info(bedpath)$size
theosize = (nindivApparent * nsnp / 4) + 3
if (realsize != theosize) {
stop(sprintf("Size of %s does not match with bim and fam files!", bedpath))
}
}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.