View source: R/getSignatures.R
writeGMT | R Documentation |
Functionality for writing microbe signatures to file in GMT format.
writeGMT(sigs, gmt.file, ...)
sigs |
A list of microbe signatures (character vectors of taxonomic IDs). |
gmt.file |
character. Path to output file in GMT format. |
... |
Arguments passed on to cat() |
none, writes to file.
GMT file format: http://www.broadinstitute.org/cancer/software/gsea/wiki/index.php/Data_formats
bsdb <- importBugSigDB()
sigs <- getSignatures(bsdb)
writeGMT(sigs, gmt.file = "signatures.gmt")
file.remove("signatures.gmt")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.