Learn R Programming

attract (version 1.24.0)

buildCustomIncidenceMatrix: This function builds an incidence matrix for custom gene sets.

Description

This function builds an incidence matrix for custom gene sets.

Usage

buildCustomIncidenceMatrix(geneSetFrame, geneNames)

Arguments

geneSetFrame
a dataframe where rows are gene sets and columns are genes.
geneNames
a vector of all the genes in the geneSetFrame dataframe

Value

A matrix object with 0 and 1 entries where 1 denotes membership of a gene in a custom gene set, 0 denotes non-membership.

Details

This function creates an incidence matrix from a dataframe where the rows are the names of gene sets and the columns are genes.

References

Mar, J., C. Wells, and J. Quackenbush, Identifying the Gene Expression Modules that Represent the Drivers of Kauffman's Attractor Landscape. to appear, 2010.