Description Usage Arguments Value Author(s) Examples
concert x-y associations (e.g. disease-gene associations) from data.frame to list
1 | x2y_df2list(x2ydf, xcol = 1, ycol = 2)
|
x2ydf |
data.frame of x-y associations |
xcol |
col of x in x2ydf |
ycol |
col of y in x2ydf |
a list of x-y associations
Peng Ni, Min Li
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | options(stringsAsFactors = FALSE)
d2g_fundo_sample<-read.table(text = "DOID:5218 IL6
DOID:8649 EGFR
DOID:8649 PTGS2
DOID:8649 VHL
DOID:8649 ERBB2
DOID:8649 PDCD1
DOID:8649 KLRC1
DOID:5214 MPZ
DOID:5214 EGR2
DOID:5210 AMH")
d2g_fundo_list<-x2y_df2list(d2g_fundo_sample)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.