Description Usage Arguments Details Value See Also Examples
Read a GMT file and return a list
1 2 3 |
... |
arguments passed on to |
fname |
the file path to be parsed |
parse_gmt
returns a nested list object. The top
level contains one list per row in fname
. Each of
these is itself a list with the following fields:
- head
: the name of the data (row in fname
)
- desc
: description of the corresponding data
- len
: the number of data items
- entry
: a vector of the data items
a list of the contents of fname
. See details.
Visit http://clue.io/help for details on the GMT file format
Other CMap parsing functions:
lxb2mat()
,
parse.gmx()
,
parse.grp()
,
write_gmt()
,
write_grp()
1 2 3 | gmt_path <- system.file("extdata", "query_up.gmt", package="cmapR")
gmt <- parse_gmt(gmt_path)
str(gmt)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.