write_gmt | R Documentation |
Writes gene set or ontology data.frame
with specific
formatting (columns representing ontology identifiers, descriptions, and
associated lists of values) and writes it to a file in a standardized Gene
Matrix Transposed (GMT) file format.
write_gmt(gmt, file)
gmt |
A |
file |
Character, a path to a file. |
Returns the input as a GMT file at a specific location.
library(mulea)
# loading and filtering the example ontology from a GMT file
tf_gmt <- read_gmt(file = system.file(
package="mulea", "extdata",
"Transcription_factor_RegulonDB_Escherichia_coli_GeneSymbol.gmt"))
# writing the filtered ontology to a GMT file
write_gmt(
gmt = tf_gmt,
file = "Transcription_factor_RegulonDB_Escherichia_coli_GeneSymbol.gmt")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.