Nothing
runSurface<-
function(tree,dat,exclude=0,aic_threshold=0,max_steps=NULL, verbose=FALSE, plotaic = FALSE,error_skip=FALSE,only_best=FALSE,sample_shifts=FALSE, sample_threshold=2){
if(class(tree)!="phylo") stop("'tree' must by a 'phylo' formatted phylogenetic tree")
if(is.null(tree$node.label))
stop("Each node in 'tree' must have a unique label for back-compatibility between formats. Use 'nameNodes(tree)'. ")
if(any(duplicated(tree$node.label)))
stop("Each node in 'tree' must have a unique label for back-compatibility between formats. Use 'nameNodes(tree)'. ")
if(!is.data.frame(dat))
stop("'dat' must be formatted as a data frame with row names corresponding to the tip labels in 'tree'")
olist<-convertTreeData(tree,dat)
otree<-olist[[1]];odata<-olist[[2]]
fwd<-surfaceForward(otree, odata, exclude=exclude, aic_threshold=aic_threshold, max_steps=max_steps, verbose=verbose, plotaic=plotaic, error_skip=error_skip, sample_shifts=sample_shifts, sample_threshold=sample_threshold)
bwd<-surfaceBackward(otree,odata,fwd[[length(fwd)]], aic_threshold=aic_threshold, verbose=verbose, plotaic=plotaic, error_skip=error_skip, only_best=only_best, sample_shifts=sample_shifts, sample_threshold=sample_threshold)
list(fwd=fwd,bwd=bwd)
}
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.