patternmatrix: Function to split binary vectors to matrix.

Description Usage Arguments Details Value Author(s) References Examples

Description

Funtion takes vector of binary strings (0,1) and returns matrix with strings split.)

Usage

1
patternmatrix(unipattern, n.entity)

Arguments

unipattern

Vector of binary strings

n.entity

Length of strings, number of studies in original application

Details

Originally part of MAP-Matches implementation

Value

Binary matrix with rows corresponding to input strings.

Author(s)

Code provided by Xinan Yang <xnyang@seu.edu.cn>

References

Yang, X., Bentink, S. a Spang, R. 2005, Detecting Common Gene Expression Patterns in Multiple Cancer Outcome Entities, Biomedical Microdevices, vol.7:3

Examples

1
2
uni<-c("0101","1100","0011","0100")
patternmatrix(unipattern=uni,n.entity=4)

MAMA documentation built on Jan. 15, 2017, 3:05 p.m.

Related to patternmatrix in MAMA...