annotList2mat: Convert an annotation list into an annotation matrix.
Description
Converts an annotation list to an annotation matrix.
The annotation matrix should have 2 columns, the first one with the
gene ids;
the second one with the annotation ids.
Usage
annotList2mat(lis, tag = "listPos")
Arguments
lis
annotation list.
tag
substitutes missing list names if any.
Value
An annotation matrix: the first column contains the gene or
feature ids,
the second column contains the Gene Set or functional block ids.
Details
Each element of the annotation list represents a functional block;
it is a character vector containing the gene ids annotated under
the function.
The names of the list are the annotation ids.