graycodeNames: Names for the predicted sensitivity matrix

Description Usage Arguments Value Author(s) Examples

Description

A function to make the target names in the format of gray code for the predected sensitivity matrix

Usage

1
graycodeNames(m, names, gc_row, gc_col)

Arguments

m

an integer to specify the number of targets

names

a vector of the names of the targets

gc_row

the gray code as row indexes. It can be returned by graycode3.

gc_col

the gray code as column indexes. It can be returned by graycode3.

Value

a list of the following components:

nr

the gray code format target names as row names.

nc

the gray code format target names as row names.

Author(s)

Liye He liye.he@helsinki.fi

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
data(tyner_interaction_binary)
data(tyner_sensitivity)
k_select<-sffsBinary(tyner_interaction_binary, tyner_sensitivity[, 1])$k_sel
gc_timma<-graycode3(length(k_select))
select_kinase_names<-dimnames(tyner_interaction_binary)[[2]][k_select]
gc_names<-graycodeNames(length(k_select), select_kinase_names, gc_timma$gc_row, gc_timma$gc_col)

## End(Not run)

timma documentation built on May 2, 2019, 1:10 p.m.