list_to_gmt | R Documentation |
data.frame
.Converts a list of ontology elements (gene sets) to an ontology
(GMT) data.frame
object.
list_to_gmt(gmt_list)
gmt_list |
A list with named character vectors. The name will become the
'ontology_id', and the elements in the vector will become the
'list_of_values' in the ontology (GMT) |
Returns ontology (GMT) data.frame
where the 'ontology_name'
contains random unique strings.
library(mulea)
# creating a list of gene sets
ontology_list <- list(gene_set1 = c("gene1", "gene2", "gene3"),
gene_set2 = c("gene4", "gene5", "gene6"))
# converting the list to a ontology (GMT) object
new_ontology_object <- list_to_gmt(ontology_list)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.