writeSigMotifs<-function(calcMotifEnrichmentOutput,csv.file="motifs.csv", threshold=0.05){
stats<-calcMotifEnrichmentOutput$enrichmentStats
write.csv(stats[stats$fdr.pvalue<=threshold,], file=csv.file, row.names=F)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.