Description Usage Arguments Details Value Examples
This function obtains a .gmt file for KEGG pathways.
1 | outKegg2Gmt(organism.id, out.gmt.file)
|
organism.id |
an identifier for the organism being studied, for example, "hsa" for "Homo sapiens" |
out.gmt.file |
name of the output .gmt file |
The function calls the get.kegg.genesets
function in EnrichmentBrowser
R package
and modifies the resulting output into a .gmt file.
Returns a .gmt file for KEGG pathways
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
data.dir <- tempdir()
outKegg2Gmt ("hsa",file.path(data.dir,"kegg.gmt.txt"))
kegg.pathways <- gmtGene2Cat(file.path(data.dir, "kegg.gmt.txt"),genomeID = "hg19")
result.kegg <- runPathwaySplice(genewise.table = gene.based.table.fdr,
genome = "hg19",
id = "ensGene",
gene2cat = kegg.pathways,
go.size.limit = c(5, 100),
method = "Wallenius",
use.genes.without.cat = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.