Doubleplot1 <- function()
{
library(flysleep)
Marray <- importMarray2()
barplotall(Marray)
Ddoubleplotall(Marray)
sleep <- act2sleep(Marray)
stat <- DDAMstat(Marray, sleep)
write.table(stat, "stat.txt", col.names = FALSE, row.names = TRUE,
sep = "\t", quote = FALSE)
return(Marray)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.