View source: R/dcList2Matrix.r
dcList2Matrix | R Documentation |
dcList2Matrix
is supposed to convert a list into a matrix
containing three columns
dcList2Matrix(x, verbose = T)
x |
a list, its each component must be a named vector |
verbose |
logical to indicate whether the messages will be displayed in the screen. By default, it sets to TRUE for display |
a matrix containing three columns: 1st for the input list names (if exist, otherises an increasing integer), 2nd for the vector names of each list component, and 3rd for the vector values of each list component
none
dcAlgoPropagate
## Not run: # load an object 'HIS' Feature2GOMF.sf <- dcRDataLoader(RData='Feature2GOMF.sf') # get a list x <- Feature2GOMF.sf$hscore # convert the list into a matrix res <- dcList2Matrix(x) dim(res) res[1:10,] ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.