View source: R/convert_genes.R
convert_gmt_file | R Documentation |
Uses create_gene_lookup
to convert one type of gmt file to another.
If using the default value for db_object
(org.Hs.eg.db
) the values for the inputs
and outputs include any listed in https://www.bioconductor.org/help/course-materials/2014/useR2014/Integration.html,
although the most common will likely be: ENTREZID, ACCNUM, ALIAS, UNIGENE, ENSEMBL, ENSEMBLPROT,
ENSEMBLTRANS, GENENAME, UNIPROT, OMIM, UCSCKG, SYMBOL
convert_gmt_file(
input_path,
input_type,
output_type,
output_path,
db_object = NULL,
na_string = "NA",
input_readme_path = NULL
)
input_path |
Path to the gmt file you would like ot convert. |
input_type |
Typically ENTREZID or SYMBOL. See decription. |
output_type |
Typically SYMBOL or ENTREZID. See decription. |
output_path |
Full path to output gmt file. |
db_object |
AnnotationDb object. If left null it will be set to |
na_string |
String to fill in the na positions of a gmt file. Typically "NA" or "". |
input_readme_path |
Optional path to readme to import into this gmt's readme. |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ convert_gmt_file ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
None
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.