This function generates a skeleton for a PopGenome function. It thereby facilitates the effortless integration of new methods into the PopGenome framework.
name of your function
This mechanism enables you to use your own functions in the PopGenome environment. The functions can also be applied to sliding windows or subsites.
Please look at the generated function, which documents where to place your own function in detail.
1 2 3 4 5 6
# GENOME.class <- readData(".../Alignments") # create.PopGenome.method("myFunction") # edit myFunction.R # source("myFunction") # value <- myFunction(test) # value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.