View source: R/utility_functions.R
wideDF2namedList | R Documentation |
Convert wide data.frame to named list. Column entries are used as list entries, and each entry is named using the corresponding column name in the data.frame.
wideDF2namedList(df.wide)
df.wide |
wide data.frame |
named list
Nicholas Mikolajewicz
namedList2wideDF
# get wide data frame
CancerSEA_Hs <-geneSets[["CancerSEA_Hs"]]
# convert wide data frame to named list
my.list <- namedList2longDF(CancerSEA_Hs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.