get_gene_sets: Transform the gene lists into the matrix of gene sets

Description Usage Arguments Details Value

View source: R/utils.R

Description

Generate the gene sets matrix from several gene lists.

Usage

1
get_gene_sets(gene.lists, all.gene)

Arguments

gene.lists

A list of vectors of gene ids.

all.gene

A vector of all gene ids.

Details

This function generates the gene.sets matrix required by enrichment analysis functions. The name of each gene set is given by the name of corresponding component of gene.lists, and assigned to the column of gene.sets.

Value

This function returns a sparse matrix as required by enrichment analysis functions.


wulingyun/CopTea documentation built on Dec. 4, 2019, 2:59 p.m.