Learn R Programming

SeqMADE (version 1.0)

moduleMatrix: Modulematrix Construction

Description

A function of constructing the modulematrix for the modules was used to indicate whether genes belong to a given module or not.

Usage

moduleMatrix(exprs, networkModule)

Arguments

exprs
exprs is a data frame or matrix for two groups or conditions, with rows as variables (genes) and columns as samples
networkModule
NetworkModule is the gene sets or modules in the biological network or metabolic pathway, with the 1th column as the module names and the 2th columnn as the gene symbols constituting the module

Details

Modulematrix is a matrix, in which the indicator variables 1 or 0 represent whether a gene belong to a given module or not.

Examples

Run this code
data(exprs)
data(networkModule)
modulematrix <- moduleMatrix(exprs,networkModule)

Run the code above in your browser using DataLab