R/find.col.index.R

Defines functions find.col.index

find.col.index<-function(filename, parameter){

    index = which(colnames(filename) ==parameter)
    num <- c()
    if (length(index) >0){
	num <- c(num, index)
    }
    else stop (paste(parameter," is not found",sep=""))
    num
}

Try the AffyExpress package in your browser

Any scripts or data that you put into this service are public.

AffyExpress documentation built on Nov. 8, 2020, 7:50 p.m.