get_consensus_pos <- function(dat,
xvar){
Consensus_SNP <- NULL;
consensus.pos <- subset(dat, Consensus_SNP == TRUE)[[xvar]]
return(consensus.pos)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.