printEnrich | R Documentation |
Print Enrichr results
printEnrich(
data,
prefix = "enrichr",
showTerms = NULL,
columns = c(1:9),
write2file = TRUE,
outFile = c("txt", "excel")
)
data |
(Required). Output list object from the |
prefix |
(Optional). Prefix of output file. Default is |
showTerms |
(Optional). Number of terms to show.
Default is |
columns |
(Optional). Columns from each entry of data.
Default is |
write2file |
(Optional). Set to TRUE if you would like this functino to output a file |
outFile |
(Optional). Output file format, choose from "txt" and "excel". Default is "txt". |
Print Enrichr results from the selected gene-set libraries to individual text files.
Wajid Jawaid wj241@alumni.cam.ac.uk
I-Hsuan Lin i-hsuan.lin@manchester.ac.uk
if (getOption("enrichR.live")) {
enrichRLive <- TRUE
dbs <- listEnrichrDbs()
if(is.null(dbs)) enrichRLive <- FALSE
dbs <- c("GO_Molecular_Function_2018", "GO_Cellular_Component_2018",
"GO_Biological_Process_2018")
enriched <- enrichr(c("Runx1", "Gfi1", "Gfi1b", "Spi1", "Gata1", "Kdr"), dbs)
if (enrichRLive) printEnrich(enriched, write2file = FALSE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.