module.exact: Extract the patients and genes from module

module.exactR Documentation

Extract the patients and genes from module

Description

Return the patients and genes from module under user defined setting

Usage

module.extract(res.module, mod, n.patients = NULL, n.genes = NULL)

Arguments

res.module

a 'seed.module' or 'cluster.module' object returned by seed.module or cluster.module

mod

a module name to extract genes and patients

n.patients

the patient number to return

n.genes

the gene number to return

Details

This function is used to return the patients and genes at user defined breakpoints.

Users can set 'n.patients' or 'n.genes' to define the break points of bi-clustering. But it is not allowed to set both value.

Value

A list for genes or patients.

Author(s)

Guofeng Meng

Examples

# extract the genes and patients when 200 patients are observed in M1.
page=module.extract(cluster.mod, 'M1', n.patients=100)
head(page$patients)
head(page$geness)
# find genes and patients in patient-seeded module
module.extract(seed.mod, names(seed.mod)[1], n.patients=50)

menggf/DEComplexDisease documentation built on June 30, 2022, 1:47 p.m.