Usage Arguments Author(s) Examples
1 | TopPathwayKeggToLatex(puchem, name, top = 20, index = 1)
|
puchem |
|
name |
|
top |
|
index |
Sarah Cherkaoui
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function (puchem, name, top = 20, index = 1)
{
Pathways <- TopPathKegg(puchem, name)
Pathways <- Pathways[1:top, ]
output <- capture.output(stargazer(as.data.frame(Pathways),
title = "Pathway Analysis", font.size = "scriptsize",
type = "latex", summary = FALSE, label = paste0("table:tab",
index + 1, seq = ""), table.placement = "h"))
cat(paste(output, collapse = "\n"), "\n", file = "pathways.tex",
append = TRUE)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.