module.exact: Extract the patients and genes from module

Description Usage Arguments Details Value Author(s) Examples

Description

Return the patients and genes from module under user defined setting

Usage

1
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

1
2
3
4
5
6
# 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)

DEComplexDisease documentation built on Nov. 8, 2020, 6:42 p.m.