Functionality for writing microbe signatures to file in GMT format.

writeGMT(sigs, gmt.file, ...)

Arguments

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()

Value

none, writes to file.

Examples

bsdb <- importBugSigDB()
#> Using cached version from 2024-10-30 16:00:33
sigs <- getSignatures(bsdb)
writeGMT(sigs, gmt.file = "signatures.gmt")
file.remove("signatures.gmt") 
#> [1] TRUE