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
7
8
9
## Not run: 
# extract the genes and patients when 200 patients are observed in M1.
page=module.extract(res.module, "M1", n.patients=200)
head(page$patients)
head(page$geness)
# find genes and patients in patient-seeded module
module.extract(res.module$decd.specific, names(res.module$decd.specific)[1], n.patients=200)

## End(Not run)

menggf/decd documentation built on Jan. 2, 2020, 12:53 a.m.