dcList2Matrix: Function to convert a list into a matrix containing three...

Description Usage Arguments Value Note See Also Examples

View source: R/dcList2Matrix.r

Description

dcList2Matrix is supposed to convert a list into a matrix containing three columns

Usage

1
dcList2Matrix(x, verbose = T)

Arguments

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

Value

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

Note

none

See Also

dcAlgoPropagate

Examples

 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)

dcGOR documentation built on May 2, 2019, 6:14 p.m.

Related to dcList2Matrix in dcGOR...