Description Usage Arguments Value Author(s) Examples
A function to make the target names in the format of gray code for the predected sensitivity matrix
1 | graycodeNames(m, names, gc_row, gc_col)
|
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 |
gc_col |
the gray code as column indexes. It can be returned by |
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. |
Liye He liye.he@helsinki.fi
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.