Learn R Programming

timma (version 1.2.1)

findSameCol: Find the same column from a matrix

Description

A function to seek for the same column from a matrix

Usage

findSameCol(X, Y)

Arguments

X
a matrix
Y
a vector with the same length as each column in X.

Value

a vector of the column indexes which are the same as vector Y.

Examples

Run this code
## Not run: 
# data(tyner_interaction_binary)
# data(tyner_sensitivity)
# x<-data.frame(tyner_interaction_binary)
# kinase_names<-dimnames(tyner_interaction_binary)
# float<-sffsBinary(tyner_interaction_binary, tyner_sensitivity[,1])
# k_select <- float$k_sel
# select_kinase_names <- findSameSet(x, k_select, kinase_names)
# ## End(Not run)

Run the code above in your browser using DataLab