doMetagene: Creates metagroups of genes

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

doMetagene collapses genes with identical alteration patterns across patients into metagroups. It returns a new matrix with the collapsed genes, as well as the members of the metagroups.

Usage

1

Arguments

mat

binary alteration matrix, with rows representing patients and columns representing genes

Details

It is recommended to run this function on the input binary matrix before applying TiMEx, because genes with identical alteration patterns across patients will otherwise be indistinguishable.

Note that in the datasets provided in this package, the genes have already been collapsed into metagroups.

Value

List consisting of:

Author(s)

Simona Cristea, scristea@jimmy.harvard.edu

References

Constantinescu et al.: TiMEx: A Waiting Time Model for Mutually Exclusive Cancer Alterations. Bioinformatics (2015).

See Also

ovarianGroups, breastGroups for examples of metagroups in large cancer datasets.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# Simulate genes and extract groups
simGenes<-simulateGenes(c(0.5,1,0.3),0.8,4000)
genes<-cbind(simGenes$genes,simGenes$genes)
genesNew<-doMetagene(genes)

# In the datasets provided in this package, the genes have already been 
# collapsed into metagroups, hence the new matrix will be identical to the 
# old one.
data(ovarian)
ovarianNew<-doMetagene(ovarian)

cbg-ethz/TiMEx documentation built on May 13, 2019, 1:50 p.m.