mod_gene_num: Get the number of genes in modules in a CEMiTool object

mod_gene_numR Documentation

Get the number of genes in modules in a CEMiTool object

Description

Get the number of genes in modules in a CEMiTool object

Usage

mod_gene_num(cem, module = NULL)

## S4 method for signature 'CEMiTool'
mod_gene_num(cem, module = NULL)

Arguments

cem

Object of class CEMiTool

module

Default is NULL. If a character string designating a module is given, the number of genes in that module is returned instead.

Value

The number of genes in module(s)

Examples

# Get example CEMiTool object
data(cem)
# Get the number of genes in modules
mod_gene_num(cem)
# Get the number of genes in module M1
mod_gene_num(cem, "M1")


csbl-usp/CEMiTool documentation built on March 27, 2024, 5:14 a.m.