Description Usage Arguments Value Note See Also Examples
View source: R/dcList2Matrix.r
dcList2Matrix
is supposed to convert a list into a matrix
containing three columns
1 | 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
1 2 3 4 5 6 7 8 9 10 11 | ## 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.