Description Usage Arguments Value Examples
Importing/exporting and formating of element sets as a
BiocSet
object.
1 2 3 4 5 6 7 8 9 10 11 | ## S4 method for signature 'GMTFile,ANY,ANY'
import(con, format, text, ...)
## S4 method for signature 'BiocSet,GMTFile,ANY'
export(object, con, format, ...)
## S4 method for signature 'OBOFile,ANY,ANY'
import(con, format, text, ...)
## S4 method for signature 'BiocSet,OBOFile,ANY'
export(object, con, format, ...)
|
con |
For |
format |
For |
text |
If con is missing this is a character vector directly providing the element set that should be imported. |
... |
Parameters to pass to the format-specific method |
object |
For 'export()', the object to be exported. |
For 'import()', a BiocSet object
For 'export()', a GMTFile object representing the location where the BiocSet object was written to
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | gmtFile <- system.file(package = "BiocSet", "extdata",
"hallmark.gene.symbol.gmt")
tbl <- import(gmtFile)
tbl2 <- BiocSet(set1 = letters, set2 = LETTERS)
fl <- tempfile(fileext = ".gmt")
gmt <- export(tbl2, fl)
oboFile <- system.file(package = "BiocSet", "extdata", "sample_go.obo")
tst_obo <- import(oboFile)
fl <- system.file("extdata", "sample_go.obo", package = "BiocSet")
tbl <- import(fl)
new_fl <- tempfile(fileext = ".obo")
obo <- export(tbl, new_fl)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.